Sonarcloud fixes

This commit is contained in:
CommanderRedYT
2022-03-26 20:19:06 +01:00
parent 56996b50a1
commit c7573b90a6
2 changed files with 2 additions and 2 deletions

View File

@@ -357,7 +357,7 @@ void showCustomColor()
#endif #endif
} }
bool activateAutomaticFrontLight() [[nodiscard]] bool activateAutomaticFrontLight()
{ {
if (!configs.ledstrip.automaticLight.value) if (!configs.ledstrip.automaticLight.value)
return false; return false;

View File

@@ -50,4 +50,4 @@ void showOtaAnimation();
void initLedStrip(); void initLedStrip();
void updateLedStrip(); void updateLedStrip();
bool activateAutomaticFrontLight(); [[nodiscard]] bool activateAutomaticFrontLight();