distance_sensor: allow setting no rotation (-R 0)

This commit is contained in:
bresch
2020-08-28 12:00:47 -04:00
committed by Daniel Agar
parent 98f53c2bc4
commit 644ede5698
9 changed files with 9 additions and 9 deletions
@@ -53,7 +53,7 @@ Setup/usage information: https://docs.px4.io/master/en/sensor/rangefinders.html#
PRINT_MODULE_USAGE_SUBCATEGORY("distance_sensor");
PRINT_MODULE_USAGE_COMMAND("start");
PRINT_MODULE_USAGE_PARAMS_I2C_SPI_DRIVER(true, false);
PRINT_MODULE_USAGE_PARAM_INT('R', 25, 1, 25, "Sensor rotation - downward facing by default", true);
PRINT_MODULE_USAGE_PARAM_INT('R', 25, 0, 25, "Sensor rotation - downward facing by default", true);
PRINT_MODULE_USAGE_DEFAULT_COMMANDS();
}