Commit Graph

16 Commits

Author SHA1 Message Date
px4dev cefc7ac00e Rework the ringbuffer class so that it's not templated, and refactor its clients so they aren't dancing around the linker anymore. 2013-09-12 00:53:08 +02:00
Andrew Tridgell a5821d2928 ms5611: converted to using RingBuffer 2013-09-12 00:53:01 +02:00
Andrew Tridgell fdbc09e2a5 avoid counters going above limit in INCREMENT()
when using INCREMENT() the counter would temporarily read equal to
limit, which could cause an issue if the task is preempted.

(this macro should be in a common header, though which header?)
2013-08-28 11:16:30 +02:00
Andrew Tridgell ad732ee3a1 free perf counters in driver destructor
this prevents drivers that probe on one bus then instantiate on
another from leaving behind stale/duplicate perf counters
2013-08-28 11:15:43 +02:00
px4dev d57d12818a Revert "Disable interrupts during ms5611 SPI transactions to prevent interruption by sensor drivers polling other sensors from interrupt context."
This reverts commit 31ded04c80.
2013-07-24 22:51:27 -07:00
px4dev 31ded04c80 Disable interrupts during ms5611 SPI transactions to prevent interruption by sensor drivers polling other sensors from interrupt context. 2013-07-20 19:09:59 -07:00
px4dev f6daafba03 Revert "Changed the MS5611 from the workq to hrt_call_every implementation, this seems to solve the SPI chip select overlaps"
This reverts commit c93e743374.
2013-07-20 18:51:46 -07:00
px4dev cfbdf7c903 Revert "Corrected the interval of the MS5611"
This reverts commit 094ff1261a.
2013-07-20 18:51:25 -07:00
Julian Oes 094ff1261a Corrected the interval of the MS5611 2013-07-19 18:30:01 +02:00
Julian Oes c93e743374 Changed the MS5611 from the workq to hrt_call_every implementation, this seems to solve the SPI chip select overlaps 2013-07-19 17:47:32 +02:00
Lorenz Meier ad8fc7e61e Merge branch 'master' of github.com:PX4/Firmware into fmuv2_bringup 2013-07-18 13:28:26 +02:00
Lorenz Meier 8d1abf4aa4 Lunchtime HOTFIX: Bring back USB console to operational, allow single-USB connection operation via QGC 2013-07-18 13:16:34 +02:00
px4dev 6cf1208312 Don't build interface drivers we don't have configs for. Make the interface drivers build.
Change the way we handle the prom buffer so that we can init the interface before constructing the driver.
2013-07-14 12:42:51 -07:00
px4dev 5350c2be09 Refactor MS5611 driver to use interface nubs for the I2C and SPI versions of the chip. This reduces the amount of duplicated code. 2013-07-14 11:45:21 -07:00
Sam Kelly b1f3a5c92b Enabled MS5611 by default on FMUv2. 2013-06-25 14:01:27 -07:00
Lorenz Meier 5974c37abb Moved the bulk of sensor drivers to the new world 2013-04-27 14:06:23 +02:00