Commit Graph

6 Commits

Author SHA1 Message Date
Andrew Tridgell 7f20f720e8 HAL_AVR: started I2C in high speed mode
this speeds up the compass a lot
2013-01-08 14:37:39 -08:00
Pat Hickey 4c31cc0c2b AP_HAL_AVR: add semaphore to I2CDriver 2013-01-04 16:19:38 -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
Pat Hickey 47f555feac AP_HAL_AVR: I2CDriver increments lockup count on any error
tridge made these changes to the "I2c" lib in a3589f2956
2012-12-20 14:51:30 +11:00
Pat Hickey 11cfde1e46 AP_HAL_AVR: I2CDriver initialize in HAL init
* Makes more sense to have everything set to go by the time we're in setup.
2012-12-20 14:51:25 +11:00
Pat Hickey 46f31aa69c AP_HAL_AVR: Implement I2CDriver based on libraries/I2C
* Removed a ton of code we don't need from that driver, which should make
  writing new drivers easier.
2012-12-20 14:51:20 +11:00