From 46f8de3a17d840eed6c790e1f4f989529e72a5e7 Mon Sep 17 00:00:00 2001 From: Charles Cross Date: Sat, 19 Feb 2022 12:08:54 -0800 Subject: [PATCH] Changes actuator_test syscmd value arg to be a float from -1 to 1 --- src/systemcmds/actuator_test/actuator_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/systemcmds/actuator_test/actuator_test.cpp b/src/systemcmds/actuator_test/actuator_test.cpp index 7a50ae55c4..71960c2afb 100644 --- a/src/systemcmds/actuator_test/actuator_test.cpp +++ b/src/systemcmds/actuator_test/actuator_test.cpp @@ -85,7 +85,7 @@ WARNING: remove all props before using this command. PRINT_MODULE_USAGE_PARAM_INT('s', -1, 1, 8, "Servo to test (1...8)", true); PRINT_MODULE_USAGE_PARAM_INT('f', -1, 1, 8, "Specify function directly", true); - PRINT_MODULE_USAGE_PARAM_INT('v', 0, 0, 100, "value (-1...1)", false); + PRINT_MODULE_USAGE_PARAM_FLOAT('v', 0, -1, 1, "value (-1...1)", false); PRINT_MODULE_USAGE_PARAM_INT('t', 0, 0, 100, "Timeout in seconds (run interactive if not set)", true); PRINT_MODULE_USAGE_COMMAND_DESCR("iterate-motors", "Iterate all motors starting and stopping one after the other");