mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 22:23:34 +08:00
PRINT_MODULE_USAGE_PARAM_{INT,FLOAT}: add support to ignore the default value
This commit is contained in:
@@ -84,7 +84,7 @@ usage(const char *reason)
|
||||
PRINT_MODULE_USAGE_PARAM_INT('h', 2000, 0, 3000, "High PWM value in us", true);
|
||||
PRINT_MODULE_USAGE_PARAM_STRING('c', NULL, NULL, "select channels in the form: 1234 (1 digit per channel, 1=first)",
|
||||
true);
|
||||
PRINT_MODULE_USAGE_PARAM_INT('m', 0, 0, 4096, "Select channels via bitmask (eg. 0xF, 3)", true);
|
||||
PRINT_MODULE_USAGE_PARAM_INT('m', -1, 0, 4096, "Select channels via bitmask (eg. 0xF, 3)", true);
|
||||
PRINT_MODULE_USAGE_PARAM_FLAG('a', "Select all channels", true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user