AP_HAL:SPIDevice: Added functions for spi registered device.
This commit is contained in:
parent
16c1bc1b0e
commit
1a8fa6ac5a
@ -63,6 +63,12 @@ public:
|
||||
{
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
/* Return the number of SPI devices currently registered. */
|
||||
virtual uint8_t get_count() { return 0; }
|
||||
|
||||
/* Get spi device name at @idx */
|
||||
virtual const char *get_device_name(uint8_t idx) { return 0; }
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user