diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-11-02 10:13:11 +0100 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-11-02 10:13:11 +0100 |
commit | 2cadd45f307750bb68c3f926d7d9830f680bd94b (patch) | |
tree | 684b481a53026e2a5a1a2076e4857b90603290db /src/modules/px4iofirmware/px4io.c | |
parent | eeda1886f0e7f15b2e51d863020f794b1a84efc1 (diff) | |
download | px4-firmware-2cadd45f307750bb68c3f926d7d9830f680bd94b.tar.gz px4-firmware-2cadd45f307750bb68c3f926d7d9830f680bd94b.tar.bz2 px4-firmware-2cadd45f307750bb68c3f926d7d9830f680bd94b.zip |
Configure led ring and enable heartbeat on it
Diffstat (limited to 'src/modules/px4iofirmware/px4io.c')
-rw-r--r-- | src/modules/px4iofirmware/px4io.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/px4iofirmware/px4io.c b/src/modules/px4iofirmware/px4io.c index cd134ccb4..f978ff406 100644 --- a/src/modules/px4iofirmware/px4io.c +++ b/src/modules/px4iofirmware/px4io.c @@ -124,6 +124,7 @@ heartbeat_blink(void) { static bool heartbeat = false; LED_BLUE(heartbeat = !heartbeat); + LED_RING(heartbeat); } static uint64_t reboot_time; @@ -191,6 +192,7 @@ user_start(int argc, char *argv[]) LED_AMBER(false); LED_BLUE(false); LED_SAFETY(false); + LED_RING(false); /* turn on servo power (if supported) */ #ifdef POWER_SERVO |