mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
AP_MSP: use BIT_IS_SET_64()
the bitmask is 64 bits wide
This commit is contained in:
parent
cda3fb6368
commit
286ea7499b
@ -828,7 +828,7 @@ MSPCommandResult AP_MSP_Telem_Backend::msp_process_out_osd_config(sbuf_t *dst)
|
||||
if (msp->_osd_item_settings[i] != nullptr) { // ok supported
|
||||
if (msp->_osd_item_settings[i]->enabled) { // ok enabled
|
||||
// let's check if we need to hide this dynamically
|
||||
if (!BIT_IS_SET(osd_hidden_items_bitmask, i)) {
|
||||
if (!BIT_IS_SET_64(osd_hidden_items_bitmask, i)) {
|
||||
pos = MSP_OSD_POS(msp->_osd_item_settings[i]);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user