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:
parent
20f3a92e50
commit
5a76aa9023
@ -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
Block a user