diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-11-02 12:34:33 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-11-02 12:34:33 +0100 |
commit | 75d0ffe4e5b7659e20bbbdcc1e840e06dfe7a138 (patch) | |
tree | 3a9f9f7d0da54aef74608e33ad371fc1c2cfe25c /src/modules | |
parent | dde42fdba9861efe85259b2ee426b2be13aed0af (diff) | |
download | px4-firmware-75d0ffe4e5b7659e20bbbdcc1e840e06dfe7a138.tar.gz px4-firmware-75d0ffe4e5b7659e20bbbdcc1e840e06dfe7a138.tar.bz2 px4-firmware-75d0ffe4e5b7659e20bbbdcc1e840e06dfe7a138.zip |
Build fix
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/px4iofirmware/px4io.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/px4iofirmware/px4io.c b/src/modules/px4iofirmware/px4io.c index f978ff406..30f32b38e 100644 --- a/src/modules/px4iofirmware/px4io.c +++ b/src/modules/px4iofirmware/px4io.c @@ -124,7 +124,9 @@ heartbeat_blink(void) { static bool heartbeat = false; LED_BLUE(heartbeat = !heartbeat); +#ifdef GPIO_LED4 LED_RING(heartbeat); +#endif } static uint64_t reboot_time; @@ -192,7 +194,9 @@ user_start(int argc, char *argv[]) LED_AMBER(false); LED_BLUE(false); LED_SAFETY(false); +#ifdef GPIO_LED4 LED_RING(false); +#endif /* turn on servo power (if supported) */ #ifdef POWER_SERVO |