drivers/pwm_out: fix launch for non-multi case

- skip _objects[1] access if only 1 possible instance
 - command line request new mode via atomic
This commit is contained in:
Daniel Agar
2021-03-23 10:40:22 -04:00
parent 06cd3eded5
commit 9b1cf98474
4 changed files with 28 additions and 4 deletions
-1
View File
@@ -35,7 +35,6 @@ px4_add_module(
MAIN pwm
COMPILE_FLAGS
-Wno-array-bounds
-O0
SRCS
pwm.cpp
DEPENDS