diff --git a/src/modules/uavcan/uavcan_main.cpp b/src/modules/uavcan/uavcan_main.cpp index f2f18e921e..19421c818b 100644 --- a/src/modules/uavcan/uavcan_main.cpp +++ b/src/modules/uavcan/uavcan_main.cpp @@ -168,10 +168,7 @@ int UavcanNode::getHardwareVersion(uavcan::protocol::HardwareVersion &hwver) int rv = -1; if (UavcanNode::instance()) { - if (!std::strncmp(px4_board_name(), "PX4FMU_V1", 9)) { - hwver.major = 1; - - } else if (!std::strncmp(px4_board_name(), "PX4FMU_V2", 9)) { + if (!std::strncmp(px4_board_name(), "PX4FMU_V2", 9)) { hwver.major = 2; } else {