aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSelene ToyKeeper2019-08-26 16:31:12 -0600
committerSelene ToyKeeper2019-08-26 16:31:12 -0600
commit64da1475d73d5d021f125209360c024518fc1751 (patch)
treeb591650bda4a710ce334f518374f6cae652f1f6a
parentmerged from upstream fsm branch to get factory reset function and other updates (diff)
downloadanduril-64da1475d73d5d021f125209360c024518fc1751.tar.gz
anduril-64da1475d73d5d021f125209360c024518fc1751.tar.bz2
anduril-64da1475d73d5d021f125209360c024518fc1751.zip
just cleaning up some comments
-rw-r--r--hwdef-Mateminco_MF01-Mini.h2
-rw-r--r--spaghetti-monster/anduril/cfg-mateminco-mf01-mini.h8
2 files changed, 2 insertions, 8 deletions
diff --git a/hwdef-Mateminco_MF01-Mini.h b/hwdef-Mateminco_MF01-Mini.h
index 9b29776..6c420d7 100644
--- a/hwdef-Mateminco_MF01-Mini.h
+++ b/hwdef-Mateminco_MF01-Mini.h
@@ -26,7 +26,7 @@
#define PWM1_LVL OCR0A // OCR0A is the output compare register for PB0
#endif
#ifndef PWM2_PIN
-#define PWM2_PIN PB1 // pin 6, FET PWM
+#define PWM2_PIN PB1 // pin 6, 7x7135 PWM
#define PWM2_LVL OCR0B // OCR0B is the output compare register for PB1
#endif
#ifndef PWM3_PIN
diff --git a/spaghetti-monster/anduril/cfg-mateminco-mf01-mini.h b/spaghetti-monster/anduril/cfg-mateminco-mf01-mini.h
index e5db4f4..bbf751b 100644
--- a/spaghetti-monster/anduril/cfg-mateminco-mf01-mini.h
+++ b/spaghetti-monster/anduril/cfg-mateminco-mf01-mini.h
@@ -40,16 +40,10 @@
#define RAMP_SMOOTH_CEIL 130 // ~??? lm
// 14/135/6 = 14, 38, 62, 86, [110], 135
// 20/110/7 = 20, 35, 50, [65], 80, 95, [110]
-// 15/130/7 = 15, 34, 53, 72, 91, [110], 130
-#if 1
+// 15/130/7 = 15, 34, 53, 72, 91, [110], 130 <--
#define RAMP_DISCRETE_FLOOR 15 // ~?? lm
#define RAMP_DISCRETE_CEIL 130 // ~??? lm
#define RAMP_DISCRETE_STEPS 7 // ??, ??, ... lm
-#else // testing only; for calibrating the ramp in detail
-#define RAMP_DISCRETE_FLOOR 1 // ~?? lm
-#define RAMP_DISCRETE_CEIL 150 // ~??? lm
-#define RAMP_DISCRETE_STEPS 150 // ??, ??, ... lm
-#endif
#define USE_TENCLICK_THERMAL_CONFIG // by request