[riot-notifications] [RIOT-OS/RIOT] periph/timer: add timer_set_periodic() (#13902)

Marian Buschsieweke notifications at github.com
Thu May 28 13:33:31 CEST 2020


@maribu commented on this pull request.



> +static unsigned _oneshot;
+
+static inline void set_oneshot(tim_t tim, int chan)

For the `unsigned flags` in `timer_set_periodic()`, an `uint<NUM>_t` would however make sense. An `uint8_t` would also allow all architectures to pass the value as a single register (looking at AVR).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/13902#discussion_r431768666
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200528/d39c724e/attachment.htm>


More information about the notifications mailing list