1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-26 01:35:41 +03:00

Fixes from review

This commit is contained in:
Bruce Luckcuck 2018-07-07 20:22:37 -04:00
parent ae2abc5d50
commit 899942621c
5 changed files with 6 additions and 4 deletions

View file

@ -828,7 +828,7 @@ static bool osdDrawSingleElement(uint8_t item)
#ifdef USE_RC_SMOOTHING_FILTER
// Show warning if rc smoothing hasn't initialized the filters
if (ARMING_FLAG(ARMED) && !rcSmoothingInitializationComplete()) {
if (osdWarnGetState(OSD_WARNING_RC_SMOOTHING) && ARMING_FLAG(ARMED) && !rcSmoothingInitializationComplete()) {
osdFormatMessage(buff, OSD_FORMAT_MESSAGE_BUFFER_SIZE, "RCSMOOTHING");
break;
}