mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 03:23:35 +08:00
Build fix
This commit is contained in:
@@ -124,7 +124,9 @@ heartbeat_blink(void)
|
|||||||
{
|
{
|
||||||
static bool heartbeat = false;
|
static bool heartbeat = false;
|
||||||
LED_BLUE(heartbeat = !heartbeat);
|
LED_BLUE(heartbeat = !heartbeat);
|
||||||
|
#ifdef GPIO_LED4
|
||||||
LED_RING(heartbeat);
|
LED_RING(heartbeat);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static uint64_t reboot_time;
|
static uint64_t reboot_time;
|
||||||
@@ -192,7 +194,9 @@ user_start(int argc, char *argv[])
|
|||||||
LED_AMBER(false);
|
LED_AMBER(false);
|
||||||
LED_BLUE(false);
|
LED_BLUE(false);
|
||||||
LED_SAFETY(false);
|
LED_SAFETY(false);
|
||||||
|
#ifdef GPIO_LED4
|
||||||
LED_RING(false);
|
LED_RING(false);
|
||||||
|
#endif
|
||||||
|
|
||||||
/* turn on servo power (if supported) */
|
/* turn on servo power (if supported) */
|
||||||
#ifdef POWER_SERVO
|
#ifdef POWER_SERVO
|
||||||
|
|||||||
Reference in New Issue
Block a user