From be7c2ec510ca74b4f435684746039b42801724b3 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Thu, 26 Oct 2023 07:11:46 -0600 Subject: converted blf-gt-mini to new API --- hwdef-BLF_GT_Mini.h | 13 ------------- hwdef-blf-gt-mini.h | 14 ++++++++++++++ spaghetti-monster/anduril/cfg-blf-gt-mini.h | 3 ++- 3 files changed, 16 insertions(+), 14 deletions(-) delete mode 100644 hwdef-BLF_GT_Mini.h create mode 100644 hwdef-blf-gt-mini.h diff --git a/hwdef-BLF_GT_Mini.h b/hwdef-BLF_GT_Mini.h deleted file mode 100644 index 1706749..0000000 --- a/hwdef-BLF_GT_Mini.h +++ /dev/null @@ -1,13 +0,0 @@ -// BLF/Lumintop GT Mini driver layout -// Copyright (C) 2018-2023 Selene ToyKeeper -// SPDX-License-Identifier: GPL-3.0-or-later -#pragma once - -// exactly the same as a D1S, but with a lighted button -#include "hwdef-Emisar_D1S.h" - -// lighted button -#ifndef AUXLED_PIN -#define AUXLED_PIN PB4 // pin 3 -#endif - diff --git a/hwdef-blf-gt-mini.h b/hwdef-blf-gt-mini.h new file mode 100644 index 0000000..f4a4d7b --- /dev/null +++ b/hwdef-blf-gt-mini.h @@ -0,0 +1,14 @@ +// BLF/Lumintop GT Mini driver layout +// Copyright (C) 2018-2023 Selene ToyKeeper +// SPDX-License-Identifier: GPL-3.0-or-later +#pragma once + +// exactly the same as a D1S, but with a lighted button +// (which is the same hwdef as a D4) +#include "hwdef-emisar-d4.h" + +// lighted button +#ifndef AUXLED_PIN +#define AUXLED_PIN PB4 // pin 3 +#endif + diff --git a/spaghetti-monster/anduril/cfg-blf-gt-mini.h b/spaghetti-monster/anduril/cfg-blf-gt-mini.h index 4158f21..083f18e 100644 --- a/spaghetti-monster/anduril/cfg-blf-gt-mini.h +++ b/spaghetti-monster/anduril/cfg-blf-gt-mini.h @@ -3,7 +3,7 @@ // SPDX-License-Identifier: GPL-3.0-or-later #pragma once -#include "hwdef-BLF_GT_Mini.h" +#include "hwdef-blf-gt-mini.h" // Same as an Emisar D1S, except it has a lighted button #include "cfg-emisar-d1s.h" #undef MODEL_NUMBER @@ -15,6 +15,7 @@ #define USE_INDICATOR_LED_WHILE_RAMPING // too big, remove stuff to make room +#undef USE_TACTICAL_MODE #undef USE_SOS_MODE //#undef USE_RAMP_AFTER_MOON_CONFIG //#undef USE_RAMP_SPEED_CONFIG -- cgit v1.2.3