mirror of https://github.com/ArduPilot/ardupilot
AP_HAL: added set_slowdown() to SPIDevice
used to slow down a SPI device below normal high speed operation
This commit is contained in:
parent
058980a94d
commit
e1889fbf66
|
@ -61,6 +61,9 @@ public:
|
|||
/* See Device::adjust_periodic_callback() */
|
||||
virtual bool adjust_periodic_callback(
|
||||
PeriodicHandle h, uint32_t period_usec) override { return false; }
|
||||
|
||||
// setup a bus clock slowdown factor (optional interface)
|
||||
virtual void set_slowdown(uint8_t slowdown) {}
|
||||
};
|
||||
|
||||
class SPIDeviceManager {
|
||||
|
|
Loading…
Reference in New Issue