firmware: make the ngff beakout blink
..but only if the cardem sim is active
Change-Id: I65f1fbeb06690a143ef4c792728c9cb917a4ffde
diff --git a/firmware/libboard/common/source/led.c b/firmware/libboard/common/source/led.c
index 6772007..4822a6d 100644
--- a/firmware/libboard/common/source/led.c
+++ b/firmware/libboard/common/source/led.c
@@ -58,6 +58,10 @@
{ 0, 1 }
};
+static const struct blink_state bs_5on_5off[] = {
+ { 500, 1 }, { 500, 0 }
+};
+
static const struct blink_state bs_3on_5off[] = {
{ 300, 1 }, { 500, 0 }
};
@@ -107,6 +111,10 @@
.states = bs_on,
.size = ARRAY_SIZE(bs_on),
},
+ [BLINK_5O_5F] = {
+ .states = bs_5on_5off,
+ .size = ARRAY_SIZE(bs_5on_5off),
+ },
[BLINK_3O_5F] = {
.states = bs_3on_5off,
.size = ARRAY_SIZE(bs_3on_5off),