From af03c5f7faa93a59d602ffad368868fc361f25e1 Mon Sep 17 00:00:00 2001 From: fauxpark Date: Tue, 22 Oct 2019 12:01:03 +1100 Subject: Change V60 Polestar RGB timer to 3 (#7099) --- keyboards/v60_type_r/v60_type_r.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'keyboards') diff --git a/keyboards/v60_type_r/v60_type_r.c b/keyboards/v60_type_r/v60_type_r.c index 41eb75807d..5caa149b45 100644 --- a/keyboards/v60_type_r/v60_type_r.c +++ b/keyboards/v60_type_r/v60_type_r.c @@ -106,35 +106,35 @@ bool process_record_kb(uint16_t keycode, keyrecord_t *record) { void rgb_timer_init(void) { - /* Timer1 setup */ + /* Timer3 setup */ /* CTC mode */ - TCCR1B |= (1<> 8) & 0xff; - OCR1AL = SOFTPWM_LED_TIMER_TOP & 0xff; + OCR3AH = (SOFTPWM_LED_TIMER_TOP >> 8) & 0xFF; + OCR3AL = SOFTPWM_LED_TIMER_TOP & 0xFF; SREG = sreg; - // Enable the compare match interrupt on timer 1 - TIMSK1 |= (1<