From 842cfe6ab5ff989cf876688196b4e11898e2db88 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Sun, 29 Oct 2023 04:27:28 -0600 Subject: fixed blf-lt1-t1616, after testing on actual hardware (its DSM interrupt wasn't working at all, and it needed a few other tweaks) --- hwdef-sofirn-lt1s-pro.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'hwdef-sofirn-lt1s-pro.h') diff --git a/hwdef-sofirn-lt1s-pro.h b/hwdef-sofirn-lt1s-pro.h index 97de7d7..ae6b3bf 100644 --- a/hwdef-sofirn-lt1s-pro.h +++ b/hwdef-sofirn-lt1s-pro.h @@ -96,10 +96,11 @@ enum channel_modes_e { inline void hwdef_setup() { // set up the system clock to run at 10 MHz instead of the default 3.33 MHz - _PROTECTED_WRITE( CLKCTRL.MCLKCTRLB, CLKCTRL_PDIV_2X_gc | CLKCTRL_PEN_bm ); + _PROTECTED_WRITE( CLKCTRL.MCLKCTRLB, + CLKCTRL_PDIV_2X_gc | CLKCTRL_PEN_bm ); //VPORTA.DIR = ...; - // Outputs: + // Outputs VPORTB.DIR = PIN0_bm // warm white | PIN1_bm // cool white | PIN2_bm // red -- cgit v1.2.3