aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster
diff options
context:
space:
mode:
authorSelene ToyKeeper2023-04-29 02:50:03 -0600
committerSelene ToyKeeper2023-04-29 02:50:03 -0600
commit882567cd08e15d73aee0802fd1b1c31076801a02 (patch)
tree30acf038e041d406da504d7ab713a68561bb062a /spaghetti-monster
parentD4v2 can use 8-bit ramp tables too (diff)
downloadanduril-882567cd08e15d73aee0802fd1b1c31076801a02.tar.gz
anduril-882567cd08e15d73aee0802fd1b1c31076801a02.tar.bz2
anduril-882567cd08e15d73aee0802fd1b1c31076801a02.zip
converted KR4-nofet build
Diffstat (limited to '')
-rw-r--r--spaghetti-monster/anduril/cfg-noctigon-kr4-nofet.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/spaghetti-monster/anduril/cfg-noctigon-kr4-nofet.h b/spaghetti-monster/anduril/cfg-noctigon-kr4-nofet.h
index 701d93f..6d49a8b 100644
--- a/spaghetti-monster/anduril/cfg-noctigon-kr4-nofet.h
+++ b/spaghetti-monster/anduril/cfg-noctigon-kr4-nofet.h
@@ -1,10 +1,11 @@
-// Noctigon KR4 (fetless) config options for Anduril
+// Noctigon KR4 (no DD FET) config options for Anduril
// Copyright (C) 2020-2023 Selene ToyKeeper
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
// (and Noctigon KR1)
// (and Emisar D4v2 E21A, a.k.a. "D4v2.5")
+#define HWDEF_C_FILE hwdef-noctigon-kr4-nofet.c
#include "cfg-noctigon-kr4.h"
#undef MODEL_NUMBER
#define MODEL_NUMBER "0212"
@@ -16,7 +17,7 @@
// max regulated: 1740 lm
#undef PWM_CHANNELS
#define PWM_CHANNELS 1
-#define RAMP_LENGTH 150
+#define RAMP_SIZE 150
// prioritize low lows, at risk of visible ripple
// level_calc.py 5.01 1 149 7135 1 0.3 1740 --pwm dyn:78:16384:255
#undef PWM1_LEVELS
@@ -49,9 +50,6 @@
#define SIMPLE_UI_CEIL RAMP_DISCRETE_CEIL
-// make candle mode wobble more
-#define CANDLE_AMPLITUDE 32
-
// slow down party strobe; this driver can't pulse for 1ms or less
// (only needed on no-FET build)
#define PARTY_STROBE_ONTIME 2