Add sound alert on startup

This commit is contained in:
Armel FAUVEAU
2024-02-21 03:19:47 +01:00
parent eeeb6530be
commit c524a7055a
7 changed files with 53 additions and 7 deletions

4
main.c
View File

@@ -164,7 +164,11 @@ void Main(void)
BACKLIGHT_TurnOn();
#ifdef ENABLE_FEAT_F4HWN
if (gEeprom.POWER_ON_DISPLAY_MODE != POWER_ON_DISPLAY_MODE_NONE && gEeprom.POWER_ON_DISPLAY_MODE != POWER_ON_DISPLAY_MODE_SOUND)
#else
if (gEeprom.POWER_ON_DISPLAY_MODE != POWER_ON_DISPLAY_MODE_NONE)
#endif
{ // 2.55 second boot-up screen
while (boot_counter_10ms > 0)
{