From 2e4f4162a85092207729fc8b5691cbd02e5b5b64 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Fri, 31 Aug 2018 21:05:30 -0600 Subject: Added support for the BLF/Lumintop GT Mini. (same as the Emisar D1S, but with a lighted button) --- spaghetti-monster/anduril/anduril.c | 4 ++++ spaghetti-monster/anduril/build-all.sh | 1 + spaghetti-monster/anduril/cfg-blf-gt-mini.h | 11 +++++++++++ 3 files changed, 16 insertions(+) create mode 100644 spaghetti-monster/anduril/cfg-blf-gt-mini.h (limited to 'spaghetti-monster') diff --git a/spaghetti-monster/anduril/anduril.c b/spaghetti-monster/anduril/anduril.c index bf16da5..d4e541d 100644 --- a/spaghetti-monster/anduril/anduril.c +++ b/spaghetti-monster/anduril/anduril.c @@ -26,6 +26,7 @@ //#define FSM_BLF_Q8_DRIVER //#define FSM_FW3A_DRIVER //#define FSM_BLF_GT_DRIVER +//#define FSM_BLF_GT_MINI_DRIVER #define USE_LVP // FIXME: won't build when this option is turned off @@ -68,6 +69,9 @@ #if defined(FSM_BLF_GT_DRIVER) #include "cfg-blf-gt.h" +#elif defined(FSM_BLF_GT_MINI_DRIVER) +#include "cfg-blf-gt-mini.h" + #elif defined(FSM_BLF_Q8_DRIVER) #include "cfg-blf-q8.h" diff --git a/spaghetti-monster/anduril/build-all.sh b/spaghetti-monster/anduril/build-all.sh index d0c0d5c..85e3cc9 100755 --- a/spaghetti-monster/anduril/build-all.sh +++ b/spaghetti-monster/anduril/build-all.sh @@ -2,6 +2,7 @@ for TARGET in \ BLF_GT \ + BLF_GT_MINI \ BLF_Q8 \ EMISAR_D1 \ EMISAR_D1S \ diff --git a/spaghetti-monster/anduril/cfg-blf-gt-mini.h b/spaghetti-monster/anduril/cfg-blf-gt-mini.h new file mode 100644 index 0000000..885024a --- /dev/null +++ b/spaghetti-monster/anduril/cfg-blf-gt-mini.h @@ -0,0 +1,11 @@ +// BLF/Lumintop GT Mini config options for Anduril +// Same as an Emisar D1S, except it has a lighted button +#include "cfg-emisar-d1s.h" + +// the button lights up +#define USE_INDICATOR_LED +// the button is visible while main LEDs are on +#define USE_INDICATOR_LED_WHILE_RAMPING +// enable blinking indicator LED while off +#define TICK_DURING_STANDBY + -- cgit v1.2.3