[riot-notifications] [RIOT-OS/RIOT] tests/periph_pwm: limit OSC_STEPS to 256 so the test works on all platforms (#14094)

Marian Buschsieweke 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...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200516/2a85908c/attachment.htm>

More information about the notifications mailing list