diff options
| author | Selene ToyKeeper | 2023-10-29 04:27:28 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2023-10-29 04:27:28 -0600 |
| commit | 842cfe6ab5ff989cf876688196b4e11898e2db88 (patch) | |
| tree | 591e9521d57fc657b42ce8c2d940734e712f5b86 /hwdef-sofirn-lt1s-pro.h | |
| parent | converted noctigon-k1-sbt90 to new API and switched to dynamic PWM (diff) | |
| download | anduril-842cfe6ab5ff989cf876688196b4e11898e2db88.tar.gz anduril-842cfe6ab5ff989cf876688196b4e11898e2db88.tar.bz2 anduril-842cfe6ab5ff989cf876688196b4e11898e2db88.zip | |
fixed blf-lt1-t1616, after testing on actual hardware
(its DSM interrupt wasn't working at all, and it needed a few other tweaks)
Diffstat (limited to 'hwdef-sofirn-lt1s-pro.h')
| -rw-r--r-- | hwdef-sofirn-lt1s-pro.h | 5 |
1 files changed, 3 insertions, 2 deletions
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 |
