Corrected a bad case where the return value could be void instead of the expected bool

This commit is contained in:
Anatole SCHRAMM 2023-01-05 13:49:17 +01:00
parent 526845e4f2
commit 59bf4c98bc

View File

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