Browse Source

UAS: Add UAVCAN config end command

QGC4.4
Lorenz Meier 10 years ago
parent
commit
e5a94ef252
  1. 5
      src/uas/UAS.cc
  2. 3
      src/uas/UASInterface.h

5
src/uas/UAS.cc

@ -1359,7 +1359,10 @@ void UAS::startBusConfig(UASInterface::StartBusConfigType calType)
switch (calType) { switch (calType) {
case StartBusConfigActuators: case StartBusConfigActuators:
actuatorCal = 1; actuatorCal = 1;
break; break;
case EndBusConfigActuators:
actuatorCal = 0;
break;
} }
mavlink_message_t msg; mavlink_message_t msg;

3
src/uas/UASInterface.h

@ -187,7 +187,8 @@ public:
}; };
enum StartBusConfigType { enum StartBusConfigType {
StartBusConfigActuators StartBusConfigActuators,
EndBusConfigActuators,
}; };
/// Starts the specified calibration /// Starts the specified calibration

Loading…
Cancel
Save