mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
AP_HAL: Add support for using SPI devices of the same type.
This commit is contained in:
parent
93941c3349
commit
f48bdc281f
@ -8,7 +8,7 @@
|
||||
class AP_HAL::SPIDeviceManager {
|
||||
public:
|
||||
virtual void init(void *) = 0;
|
||||
virtual AP_HAL::SPIDeviceDriver* device(enum AP_HAL::SPIDevice) = 0;
|
||||
virtual AP_HAL::SPIDeviceDriver* device(enum AP_HAL::SPIDevice, uint8_t index = 0) = 0;
|
||||
};
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user