From c3f547d5edfbca0ed78190d9d8b8f3609baebb5f Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Wed, 3 Nov 2021 20:33:01 -0600 Subject: fixed KR4-tintramp build (switch wasn't working) and added it to MODELS --- hwdef-Noctigon_KR4-tintramp.h | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'hwdef-Noctigon_KR4-tintramp.h') diff --git a/hwdef-Noctigon_KR4-tintramp.h b/hwdef-Noctigon_KR4-tintramp.h index 9857431..3bd57fe 100644 --- a/hwdef-Noctigon_KR4-tintramp.h +++ b/hwdef-Noctigon_KR4-tintramp.h @@ -28,16 +28,10 @@ * ADC12 thermal sensor */ -#include "hwdef-Emisar_D4Sv2-tintramp.h" +#define ATTINY 1634 +#include // move the switch to a different pin -#undef SWITCH_PIN -#undef SWITCH_PCINT -#undef SWITCH_PCIE -#undef SWITCH_PCMSK -#undef SWITCH_PORT -#undef SWITCH_PUE -#undef PCINT_vect #define SWITCH_PIN PB2 // pin 17 #define SWITCH_PCINT PCINT10 // pin 17 pin change interrupt #define SWITCH_PCIE PCIE1 // PCIE1 is for PCINT[11:8] @@ -46,4 +40,7 @@ #define SWITCH_PUE PUEB // pullup group B #define PCINT_vect PCINT1_vect // ISR for PCINT[11:8] +// the rest of the config is the same as D4Sv2-tintramp +#include "hwdef-Emisar_D4Sv2-tintramp.h" + #endif -- cgit v1.2.3