1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-20 14:55:21 +03:00
This commit is contained in:
jflyper 2016-11-07 20:17:52 +09:00
parent 1da1837288
commit aed2e48266

View file

@ -46,11 +46,8 @@ void displayRelease(displayPort_t *instance)
bool displayIsGrabbed(const displayPort_t *instance)
{
if (instance && instance->isGrabbed) { // can be called before initialised
return true;
} else {
return false;
}
// can be called before initialised
return (instance && instance->isGrabbed);
}
int displayWrite(displayPort_t *instance, uint8_t x, uint8_t y, const char *s)