mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
GCS_Common: fix compiler warnings on missing parentheses
This commit is contained in:
parent
6ed09d83f3
commit
f385a4a329
@ -1661,9 +1661,9 @@ void GCS_MAVLINK::send_message(enum ap_message id)
|
||||
save_signing_timestamp(false);
|
||||
// update the mask of all streaming channels
|
||||
if (is_streaming()) {
|
||||
GCS_MAVLINK::chan_is_streaming |= (1U<<chan-MAVLINK_COMM_0);
|
||||
GCS_MAVLINK::chan_is_streaming |= (1U<<(chan-MAVLINK_COMM_0));
|
||||
} else {
|
||||
GCS_MAVLINK::chan_is_streaming &= ~(1U<<chan-MAVLINK_COMM_0);
|
||||
GCS_MAVLINK::chan_is_streaming &= ~(1U<<(chan-MAVLINK_COMM_0));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user