AP_HAL_SITL: remove incorrect use of ARRAY_SIZE

This was converted to a linked list....
This commit is contained in:
Peter Barker 2021-11-24 10:26:21 +11:00 committed by Andrew Tridgell
parent a2961ede8f
commit 11cbd68296

View File

@ -106,9 +106,6 @@ SPIBus *SPIDeviceManager::buses;
SPIDeviceManager::SPIDeviceManager() SPIDeviceManager::SPIDeviceManager()
{ {
for (uint8_t i=0; i<ARRAY_SIZE(buses); i++) {
buses[i].bus = i;
}
} }
static const struct SPIDriverInfo { static const struct SPIDriverInfo {