Fix CANNODE_SUB_MBD typo

This commit is contained in:
alexklimaj 2022-11-16 11:41:46 -07:00 committed by Daniel Agar
parent f2607335ac
commit 8b61b22da6
1 changed files with 3 additions and 3 deletions

View File

@ -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));
}