diff options
| author | Selene ToyKeeper | 2021-11-03 20:33:01 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2021-11-03 20:33:01 -0600 |
| commit | c3f547d5edfbca0ed78190d9d8b8f3609baebb5f (patch) | |
| tree | e2742fde3919e7bf1b5ff76f1b7eab43236a96d9 /hwdef-Noctigon_KR4-tintramp.h | |
| parent | reset tint while changing tint ramp style (diff) | |
| download | anduril-c3f547d5edfbca0ed78190d9d8b8f3609baebb5f.tar.gz anduril-c3f547d5edfbca0ed78190d9d8b8f3609baebb5f.tar.bz2 anduril-c3f547d5edfbca0ed78190d9d8b8f3609baebb5f.zip | |
fixed KR4-tintramp build (switch wasn't working) and added it to MODELS
Diffstat (limited to 'hwdef-Noctigon_KR4-tintramp.h')
| -rw-r--r-- | hwdef-Noctigon_KR4-tintramp.h | 13 |
1 files changed, 5 insertions, 8 deletions
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 <avr/io.h> // 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 |
