uavcan:Removed PX4FMUv1 support

This commit is contained in:
David Sidrane
2017-08-10 09:23:38 -10:00
committed by Daniel Agar
parent 34cd7563fb
commit 5782e5c5fd
+1 -4
View File
@@ -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 {