Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nuttx: Register PWM device only if device file is not present
If configured from menuconfig, device inode is already there there is no need to register it again. It was observed on STM32F7 using a config with those options: ``` CONFIG_STM32F7_TIM1=y CONFIG_STM32F7_TIM1_PWM=y ``` Relate-to: rzr/webthing-iotjs#3 Forwarded: https://github.com/pando-project/iotjs/pull/ Change-Id: I6134f15ead43babe3e5de6a9f0d185f6629f62d2 IoT.js-DCO-1.0-Signed-off-by: Philippe Coval p.coval@samsung.com
- Loading branch information