From 176144c74eb41b09c508ad338a16217a019165bc Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Wed, 14 Oct 2020 21:49:42 -0600 Subject: renamed LED_ENABLE2_* to LED2_ENABLE_* --- hwdef-Noctigon_K1-12V.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hwdef-Noctigon_K1-12V.h') 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); -- cgit v1.2.3