From 882567cd08e15d73aee0802fd1b1c31076801a02 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Sat, 29 Apr 2023 02:50:03 -0600 Subject: converted KR4-nofet build --- hwdef-noctigon-kr4.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'hwdef-noctigon-kr4.h') diff --git a/hwdef-noctigon-kr4.h b/hwdef-noctigon-kr4.h index b20effc..d6c33ff 100644 --- a/hwdef-noctigon-kr4.h +++ b/hwdef-noctigon-kr4.h @@ -37,7 +37,9 @@ #define ATTINY 1634 #include +#ifndef HWDEF_C_FILE #define HWDEF_C_FILE hwdef-noctigon-kr4.c +#endif // allow using aux LEDs as extra channel modes #include "chan-rgbaux.h" @@ -92,10 +94,6 @@ #define CH1_PWM OCR1A // OCR1A is the output compare register for PB3 #define CH1_ENABLE_PIN PB0 // pin 19, Opamp power #define CH1_ENABLE_PORT PORTB // control port for PB0 -// TODO: remove these -#define PWM1_PHASE_RESET_OFF // force reset while shutting off -#define PWM1_PHASE_RESET_ON // force reset while turning on -#define PWM1_PHASE_SYNC // manual sync while changing level // DD FET channel #define CH2_PIN PA6 // pin 1, DD FET PWM -- cgit v1.2.3