5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-01-06 16:08:28 -04:00

AP_HAL: added set_slowdown() to SPIDevice

used to slow down a SPI device below normal high speed operation
This commit is contained in:
Andrew Tridgell 2018-12-28 12:12:58 +11:00
parent 20f3a92e50
commit 5a76aa9023

View File

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