Merge pull request #1491 from XPila/MK3-bed_fast_pwm

HW pwm fix
This commit is contained in:
PavelSindler 2019-01-30 12:52:44 +01:00 committed by GitHub
commit b24cd58a50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,7 @@ void timer02_set_pwm0(uint8_t pwm0)
TCCR0A &= ~(2 << COM0B0); TCCR0A &= ~(2 << COM0B0);
OCR0B = 0; OCR0B = 0;
} }
timer02_pwm0 = pwm0;
} }
void timer02_init(void) void timer02_init(void)