mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-09 12:11:35 +08:00
fix PARAM_PREFIX for boards with px4io (CONFIG_BOARD_IO)
This commit is contained in:
@@ -43,12 +43,6 @@
|
||||
|
||||
#include <board_config.h>
|
||||
|
||||
#ifdef BOARD_WITH_IO
|
||||
# define PARAM_PREFIX "PWM_AUX"
|
||||
#else
|
||||
# define PARAM_PREFIX "PWM_MAIN"
|
||||
#endif
|
||||
|
||||
#define commandParamToInt(n) static_cast<int>(n >= 0 ? n + 0.5f : n - 0.5f)
|
||||
|
||||
namespace camera_capture
|
||||
|
||||
Reference in New Issue
Block a user