Commit bd0d364d authored by Julian Oes's avatar Julian Oes

Revert "include HIL bit, this makes HIL without RC working again"

This reverts commit af0589b2.
parent af0589b2
......@@ -1872,10 +1872,10 @@ void UAS::setMode(uint8_t newBaseMode, uint32_t newCustomMode)
// Now set current state (request no change)
newBaseMode |= this->base_mode & MAV_MODE_FLAG_SAFETY_ARMED;
// Strip HIL part, replace it with current system state
newBaseMode &= (~MAV_MODE_FLAG_HIL_ENABLED);
// Now set current state (request no change)
newBaseMode |= this->base_mode & MAV_MODE_FLAG_HIL_ENABLED;
// // Strip HIL part, replace it with current system state
// newBaseMode &= (~MAV_MODE_FLAG_HIL_ENABLED);
// // Now set current state (request no change)
// newBaseMode |= this->base_mode & MAV_MODE_FLAG_HIL_ENABLED;
setModeArm(newBaseMode, newCustomMode);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment