mirror of
https://github.com/apache/nuttx.git
synced 2026-05-12 09:48:31 +08:00
7354ab187e
PWM drivers currently use channel number 0 for the channels that are not used by the application. This commit adds number -1 which indicates that all following channels are not configured and that the loop can be broken. Signed-off-by: Michal Lenc <michallenc@seznam.cz>