Commit 246b803
nuttx: Use unix convention for number for PWM file (#1887)
Pre UNIX convention devices start on 0 index while STM32 timers start on 1.
So a -1 shift is applied:
eg: /dev/pwm0 is for used Timer1
It was tested along nucleo-144 (stm32f7) port
Relate-to: https://bitbucket.org/nuttx/nuttx/pull-requests/874/
Relate-to: rzr/webthing-iotjs#3
Forwarded: #1887
Change-Id: Ia0b468bcb203f94107e472f837a5d38dbcfee71d
IoT.js-DCO-1.0-Signed-off-by: Philippe Coval p.coval@samsung.com1 parent 603bea5 commit 246b803
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| |||
0 commit comments