From 8b61b22da6014b82a1ae8fce0029e0d5d3f114b0 Mon Sep 17 00:00:00 2001 From: alexklimaj Date: Wed, 16 Nov 2022 11:41:46 -0700 Subject: [PATCH] Fix CANNODE_SUB_MBD typo --- src/drivers/uavcannode/UavcanNode.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/drivers/uavcannode/UavcanNode.cpp b/src/drivers/uavcannode/UavcanNode.cpp index 64741a8da8..9d64c9105e 100644 --- a/src/drivers/uavcannode/UavcanNode.cpp +++ b/src/drivers/uavcannode/UavcanNode.cpp @@ -316,10 +316,10 @@ int UavcanNode::init(uavcan::NodeID node_id, UAVCAN_DRIVER::BusEvent &bus_events _subscriber_list.add(new BeepCommand(_node)); _subscriber_list.add(new LightsCommand(_node)); - int32_t cannode_sub_mdb = 0; - param_get(param_find("CANNODE_SUB_MDB"), &cannode_sub_mdb); + int32_t cannode_sub_mbd = 0; + param_get(param_find("CANNODE_SUB_MBD"), &cannode_sub_mbd); - if (cannode_sub_mdb == 1) { + if (cannode_sub_mbd == 1) { _subscriber_list.add(new MovingBaselineData(_node)); }