Andrew Tridgell
3015356671
HAL_AVR: fixes for HAL_GPIO_ define change
11 years ago
Andrew Tridgell
6eee2421cc
AP_HAL: removed RCInput valid_channels() and added new_input() and num_channels()
...
the valid_channels() method was inconsistently implemented between
boards, and served two quite different purposes. It is clearer as two
functions
11 years ago
John Arne Birkeland
f6038f36bf
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()
12 years ago
Randy Mackay
bbbd90c430
AP_HAL: rename RCInput's valid() fn to valid_channels
12 years ago
Randy Mackay
a28c6df611
RCInput: allow ppmsum of less than 8 channels
12 years ago
Andrew Tridgell
db8da71f65
Revert "AP_HAL_AVR: Improved AVRTimer micros() and millis()"
...
This reverts commit 527dcdf3b942b99144b8016f0e12a7f7e1218350.
This was causing the MPU6000 startup code to fail, due to time running
backwards.
12 years ago
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
12 years ago
Andrew Tridgell
551ff0c8b8
AP_HAL_AVR: prevent build of AVR code on non-AVR platforms
12 years ago
Andrew Tridgell
31bb300f81
AP_HAL_AVR: fixed bounds check for rc input
12 years ago
Pat Hickey
8d97596ea0
AP_HAL_AVR: RCInput has overrides
12 years ago
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
12 years ago
Pat Hickey
fc2e1455a9
AP_HAL_AVR: proper RCInput implementations for APM1 and APM2
12 years ago