Skip to content
Snippets Groups Projects
Commit 8f80b210 authored by Daniel Agar's avatar Daniel Agar Committed by Lorenz Meier
Browse files

uavcan param @unit

parent 12d0feba
No related branches found
No related tags found
No related merge requests found
......@@ -47,8 +47,13 @@
* 2 - Enabled support for dynamic node ID allocation and firmware update.
* 3 - Sets the motor control outputs to UAVCAN and enables support for dynamic node ID allocation and firmware update.
*
* @unit enum
* @min 0
* @max 3
* @value 0 disabled
* @value 1 enabled
* @value 2 update
* @value 3 motors/update
* @group UAVCAN
*/
PARAM_DEFINE_INT32(UAVCAN_ENABLE, 0);
......@@ -67,11 +72,9 @@ PARAM_DEFINE_INT32(UAVCAN_NODE_ID, 1);
/**
* UAVCAN CAN bus bitrate.
*
* @unit bit/s
* @min 20000
* @max 1000000
* @group UAVCAN
*/
PARAM_DEFINE_INT32(UAVCAN_BITRATE, 1000000);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment