mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
AP_HAL_SITL: remove incorrect use of ARRAY_SIZE
This was converted to a linked list....
This commit is contained in:
parent
a2961ede8f
commit
11cbd68296
@ -106,9 +106,6 @@ SPIBus *SPIDeviceManager::buses;
|
||||
|
||||
SPIDeviceManager::SPIDeviceManager()
|
||||
{
|
||||
for (uint8_t i=0; i<ARRAY_SIZE(buses); i++) {
|
||||
buses[i].bus = i;
|
||||
}
|
||||
}
|
||||
|
||||
static const struct SPIDriverInfo {
|
||||
|
Loading…
Reference in New Issue
Block a user