Merge pull request #10075 from haslinghuis/crsf-cms-fixed

Fixed crsf-cms
This commit is contained in:
Michael Keller 2020-08-05 06:54:06 +12:00 committed by GitHub
commit b488d388ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}