mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 04:03:35 +08:00
aerocore2:Make sure errors light LED
This commit is contained in:
committed by
Lorenz Meier
parent
68ce4cf11d
commit
1856c4760d
@@ -263,7 +263,7 @@ __EXPORT int board_app_initialize(uintptr_t arg)
|
||||
|
||||
if (!spi3) {
|
||||
message("[boot] FAILED to initialize SPI port 3\n");
|
||||
board_autoled_on(LED_AMBER);
|
||||
led_on(LED_AMBER);
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
@@ -282,7 +282,7 @@ __EXPORT int board_app_initialize(uintptr_t arg)
|
||||
|
||||
if (!spi4) {
|
||||
message("[boot] FAILED to initialize SPI port 4\n");
|
||||
board_autoled_on(LED_AMBER);
|
||||
led_on(LED_AMBER);
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user