Merge pull request #10075 from haslinghuis/crsf-cms-fixed
Fixed crsf-cms
This commit is contained in:
commit
b488d388ba
|
@ -192,7 +192,7 @@ bool crsfDisplayPortIsReady(void)
|
|||
{
|
||||
const timeMs_t currentTimeMs = millis();
|
||||
const bool delayExpired = (currentTimeMs > delayTransportUntilMs);
|
||||
const bool cmsReady = (cmsInMenu && (pCurrentDisplay = &crsfDisplayPort));
|
||||
const bool cmsReady = (cmsInMenu && (pCurrentDisplay == &crsfDisplayPort));
|
||||
return (bool)(delayExpired && cmsReady);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue