feat(ex01): should be done

This commit is contained in:
Maix0 2026-04-17 23:01:35 +02:00
parent 8345043fac
commit 8d79cc7812
5 changed files with 43 additions and 26 deletions

View file

@ -65,7 +65,7 @@ static inline void t1_interrupt(enum e_timer_output output, bool enable) {
}
}
static inline void t1_set_ocr(enum e_timer_output output, uint8_t value) {
static inline void t1_set_ocr(enum e_timer_output output, uint16_t value) {
if (output & TO_A)
OCR1A = value;
if (output & TO_B)