aboutsummaryrefslogtreecommitdiff
path: root/hwdef-Noctigon_K1-12V.h
diff options
context:
space:
mode:
authorSelene ToyKeeper2021-01-24 22:21:06 -0700
committerSelene ToyKeeper2021-01-24 22:21:06 -0700
commitecd711cf477ec1a25d08e3f5c35b86e306cbc7a5 (patch)
tree081970215e165a45672d7d724cbd2c4644156e49 /hwdef-Noctigon_K1-12V.h
parentadded model number to Lume1 FW3X build target (diff)
parentnoctigon k9.3: default to aux RGB rainbow mode, and automatic memory (diff)
downloadanduril-ecd711cf477ec1a25d08e3f5c35b86e306cbc7a5.tar.gz
anduril-ecd711cf477ec1a25d08e3f5c35b86e306cbc7a5.tar.bz2
anduril-ecd711cf477ec1a25d08e3f5c35b86e306cbc7a5.zip
merged noctigon k9.3 branch
Diffstat (limited to 'hwdef-Noctigon_K1-12V.h')
-rw-r--r--hwdef-Noctigon_K1-12V.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/hwdef-Noctigon_K1-12V.h b/hwdef-Noctigon_K1-12V.h
index 8781d8e..b17aad0 100644
--- a/hwdef-Noctigon_K1-12V.h
+++ b/hwdef-Noctigon_K1-12V.h
@@ -56,8 +56,8 @@
#define LED_ENABLE_PIN PB0 // pin 19, Opamp power
#define LED_ENABLE_PORT PORTB // control port for PB0
-#define LED_ENABLE2_PIN PC0 // pin 15, boost PMIC enable
-#define LED_ENABLE2_PORT PORTC // control port for PC0
+#define LED2_ENABLE_PIN PC0 // pin 15, boost PMIC enable
+#define LED2_ENABLE_PORT PORTC // control port for PC0
#define USE_VOLTAGE_DIVIDER // use a dedicated pin, not VCC, because VCC input is flattened
@@ -103,7 +103,7 @@
inline void hwdef_setup() {
// enable output ports
// boost PMIC on/off
- DDRC = (1 << LED_ENABLE2_PIN);
+ DDRC = (1 << LED2_ENABLE_PIN);
// Opamp level and Opamp on/off
DDRB = (1 << PWM1_PIN)
| (1 << LED_ENABLE_PIN);