1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-26 09:45:33 +03:00

Merge branch 'development' into de_rx_and_failsafe_cleanup

This commit is contained in:
Konstantin Sharlaimov 2017-09-16 10:17:33 +10:00 committed by GitHub
commit f571000017
76 changed files with 3456 additions and 450 deletions

View file

@ -417,7 +417,7 @@ static void packBoxModeFlags(boxBitmask_t * mspBoxModeFlags)
memset(mspBoxModeFlags, 0, sizeof(boxBitmask_t));
for (uint32_t i = 0; i < activeBoxIdCount; i++) {
if (activeBoxes[activeBoxIds[i]]) {
bitArraySet(mspBoxModeFlags, i);
bitArraySet(mspBoxModeFlags->bits, i);
}
}
}
@ -1879,6 +1879,11 @@ static mspResult_e mspFcProcessInCommand(uint16_t cmdMSP, sbuf_t *src)
osdConfigMutable()->item_pos[addr] = pos;
}
}
// Either a element position change or a units change needs
// a full redraw, since an element can change size significantly
// and the old position or the now unused space due to the
// size change need to be erased.
osdStartFullRedraw();
}
break;
case MSP_OSD_CHAR_WRITE: