Skip to content
Snippets Groups Projects
Commit 5782e5c5 authored by David Sidrane's avatar David Sidrane Committed by Daniel Agar
Browse files

uavcan:Removed PX4FMUv1 support

parent 34cd7563
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
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