Commit Graph

10 Commits

Author SHA1 Message Date
Randy Mackay bbbd90c430 AP_HAL: rename RCInput's valid() fn to valid_channels 2013-04-29 15:05:53 +09:00
Randy Mackay a28c6df611 RCInput: allow ppmsum of less than 8 channels 2013-04-29 14:35:59 +09:00
Andrew Tridgell db8da71f65 Revert "AP_HAL_AVR: Improved AVRTimer micros() and millis()"
This reverts commit 527dcdf3b9.

This was causing the MPU6000 startup code to fail, due to time running
backwards.
2013-02-03 21:32:22 +11:00
John Arne Birkeland 527dcdf3b9 AP_HAL_AVR: Improved AVRTimer micros() and millis()
- More efficient code by using 16-bit timer
- micros() now has proper 1 us resolution and less overhead
- millis() has less overhead
- removed unneeded/unwanted initializatin of timers in AVRTimer::init()

pull request 62, approved and merged by pat
2013-02-01 09:32:40 -08:00
Andrew Tridgell 551ff0c8b8 AP_HAL_AVR: prevent build of AVR code on non-AVR platforms 2012-12-20 14:51:40 +11:00
Andrew Tridgell d9f69923f2 HAL_AVR: fixed int types -> uint8_t 2012-12-20 14:51:34 +11:00
Andrew Tridgell 31bb300f81 AP_HAL_AVR: fixed bounds check for rc input 2012-12-20 14:51:34 +11:00
Pat Hickey 8d97596ea0 AP_HAL_AVR: RCInput has overrides 2012-12-20 14:51:34 +11:00
Pat Hickey 25bc452608 AP_HAL_AVR RCInput: fixes found in testing
* On APM1, I was able to test with the failsafe (i.e. all channels giving
  fixed values) but not with a real receiver
2012-12-20 14:51:21 +11:00
Pat Hickey fc2e1455a9 AP_HAL_AVR: proper RCInput implementations for APM1 and APM2 2012-12-20 14:51:20 +11:00