mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 22:35:23 +03:00
Tidy
This commit is contained in:
parent
1da1837288
commit
aed2e48266
1 changed files with 2 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue