AP_HAL: added set_split_transfers() API for I2C

This commit is contained in:
Andrew Tridgell 2016-12-09 13:00:49 +11:00 committed by Lucas De Marchi
parent 8f252c4983
commit dc26cbc074

View File

@ -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 {