aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSelene ToyKeeper2023-07-20 21:50:35 -0600
committerSelene ToyKeeper2023-07-20 21:50:35 -0600
commit73fb3b43a2e348e20e7a79945ddb34865eb3fc27 (patch)
tree13e8a7d131cfa8d4d71aec4793847af01261d10f
parentfixed D4Sv2 (using new refactor) (diff)
downloadanduril-73fb3b43a2e348e20e7a79945ddb34865eb3fc27.tar.gz
anduril-73fb3b43a2e348e20e7a79945ddb34865eb3fc27.tar.bz2
anduril-73fb3b43a2e348e20e7a79945ddb34865eb3fc27.zip
fixed original D4S (using new refactor)
Diffstat (limited to '')
-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