From 4dfe5e628823c478124a03e381ee6bcdcb9ca314 Mon Sep 17 00:00:00 2001 From: Gabriel Hart Date: Mon, 1 Feb 2021 10:33:43 -0600 Subject: Add RGB Aux functionality for 1-Series --- hwdef-gchart-fet1-t16.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'hwdef-gchart-fet1-t16.h') diff --git a/hwdef-gchart-fet1-t16.h b/hwdef-gchart-fet1-t16.h index 3a79586..e8fd11c 100644 --- a/hwdef-gchart-fet1-t16.h +++ b/hwdef-gchart-fet1-t16.h @@ -23,12 +23,11 @@ Read voltage from VCC pin, has diode with ~0.4v drop #define PWM_CHANNELS 2 #ifndef SWITCH_PIN -#define SWITCH_PIN 2 +#define SWITCH_PIN PIN2_bp #define SWITCH_PORT VPORTB.IN #define SWITCH_ISC_REG PORTB.PIN2CTRL #define SWITCH_VECT PORTB_PORT_vect #define SWITCH_INTFLG VPORTB.INTFLAGS -//#define SWITCH_ISC_REG _SFR_MEM8(&PORTB + 0x10 + SWITCH_PIN) #endif @@ -52,9 +51,8 @@ Read voltage from VCC pin, has diode with ~0.4v drop // lighted button #ifndef AUXLED_PIN -#define AUXLED_PIN PIN3_bm +#define AUXLED_PIN PIN3_bp #define AUXLED_PORT PORTB -#define AUXLED_CTRL PIN3CTRL #endif -- cgit v1.2.3