We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8831f7b + 08ced4c commit f192818Copy full SHA for f192818
src/comm_manager.cpp
@@ -350,7 +350,7 @@ void CommManager::send_status(void)
350
if (!initialized_) { return; }
351
352
uint8_t control_mode = 0;
353
- if (RF_.params_.get_param_int(PARAM_FIXED_WING)) {
+ if (RF_.params_.get_param_int(PARAM_FIXED_WING) || RF_.command_manager_.combined_control().x.type == PASSTHROUGH) {
354
control_mode = MODE_PASS_THROUGH;
355
} else if (RF_.command_manager_.combined_control().x.type == ANGLE) {
356
control_mode = MODE_ROLL_PITCH_YAWRATE_THROTTLE;
0 commit comments