|
|
|
@ -320,7 +320,6 @@ SPIDeviceManager::get_device(const char *name)
@@ -320,7 +320,6 @@ SPIDeviceManager::get_device(const char *name)
|
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if (i == ARRAY_SIZE(device_table)) { |
|
|
|
|
printf("SPI: Invalid device name: %s\n", name); |
|
|
|
|
return AP_HAL::OwnPtr<AP_HAL::SPIDevice>(nullptr); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|