[riot-notifications] [RIOT-OS/RIOT] tests/periph_pwm: limit OSC_STEPS to 256 so the test works on all platforms (#14094)
notifications at github.com
Sat May 16 20:31:54 CEST 2020
> I can't tell from looking at this one line of code, is this a fix or a workaround?
Depends on your point of view :-D The ATmega hardware only have 8 bit counters. So this works around a hardware limitation. So one could view this as a workaround. (But 8 bit counters / timers on 8 bit platforms makes quite a lot of sense.)
On the other hand the test should not test for stuff that is not possible. So one could also view this as a fix.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications