Corrected a bad case where the return value could be void instead of the expected bool
This commit is contained in:
parent
526845e4f2
commit
59bf4c98bc
@ -142,7 +142,7 @@ bool compass_screen_is_in_use(CompassScreen_t *const compassScreen)
|
||||
if(!compassScreen)
|
||||
{
|
||||
LV_LOG_ERROR("NULL pointer given !");
|
||||
return;
|
||||
return false;
|
||||
}
|
||||
|
||||
return compassScreen->display != NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user