Browse Source

AP_HAL: added set_split_transfers() API for I2C

master
Andrew Tridgell 8 years ago committed by Lucas De Marchi
parent
commit
dc26cbc074
  1. 3
      libraries/AP_HAL/I2CDevice.h

3
libraries/AP_HAL/I2CDevice.h

@ -62,6 +62,9 @@ public: @@ -62,6 +62,9 @@ public:
/* See Device::adjust_periodic_callback() */
virtual bool adjust_periodic_callback(
Device::PeriodicHandle h, uint32_t period_usec) override = 0;
/* force I2C transfers to be split between send and receive */
virtual void set_split_transfers(bool set) {};
};
class I2CDeviceManager {

Loading…
Cancel
Save