Revision 18
Fix minor issue on set_frequency
lab2.c | ||
---|---|---|
38 | 38 |
|
39 | 39 |
int(timer_test_time_base)(uint8_t timer, uint32_t freq) { |
40 | 40 |
if (timer_set_frequency(timer, freq)) return 1; |
41 |
|
|
42 | 41 |
return 0; |
43 | 42 |
} |
44 | 43 |
|
Also available in: Unified diff