aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hwdef-emisar-d4s.h (renamed from hwdef-Emisar_D4S.h)2
-rw-r--r--spaghetti-monster/anduril/cfg-emisar-d4s.h11
2 files changed, 5 insertions, 8 deletions
diff --git a/hwdef-Emisar_D4S.h b/hwdef-emisar-d4s.h
index 97d8529..95789e6 100644
--- a/hwdef-Emisar_D4S.h
+++ b/hwdef-emisar-d4s.h
@@ -4,7 +4,7 @@
#pragma once
// same as a D4, basically
-#include "hwdef-Emisar_D4.h"
+#include "hwdef-emisar-d4.h"
// ... except the D4S has aux LEDs under the optic
#ifndef AUXLED_PIN
diff --git a/spaghetti-monster/anduril/cfg-emisar-d4s.h b/spaghetti-monster/anduril/cfg-emisar-d4s.h
index a3dc65f..e966132 100644
--- a/spaghetti-monster/anduril/cfg-emisar-d4s.h
+++ b/spaghetti-monster/anduril/cfg-emisar-d4s.h
@@ -4,21 +4,18 @@
#pragma once
#define MODEL_NUMBER "0131"
-#include "hwdef-Emisar_D4S.h"
+#include "hwdef-emisar-d4s.h"
#include "hank-cfg.h"
+// ATTINY: 85
-// the button lights up
+// the button lights up (on some models)
#define USE_INDICATOR_LED
// the aux LEDs are behind the main LEDs
#ifdef USE_INDICATOR_LED_WHILE_RAMPING
#undef USE_INDICATOR_LED_WHILE_RAMPING
#endif
-#ifdef RAMP_LENGTH
-#undef RAMP_LENGTH
-#endif
-
-#define RAMP_LENGTH 150
+#define RAMP_SIZE 150
// 3x7135 + FET
// level_calc.py ninth 2 150 7135 1 11.2 450 FET 1 10 4000