Fix conditional compilation

This commit is contained in:
Armel FAUVEAU
2024-07-28 18:00:44 +02:00
parent 0d8338b862
commit 5cf119c856
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ void AUDIO_PlayBeep(BEEP_Type_t Beep)
if (Beep != BEEP_880HZ_60MS_DOUBLE_BEEP &&
Beep != BEEP_500HZ_60MS_DOUBLE_BEEP &&
Beep != BEEP_440HZ_500MS &&
#ifndef ENABLE_FEAT_F4HWN
#ifdef ENABLE_DTMF_CALLING
Beep != BEEP_880HZ_200MS &&
Beep != BEEP_880HZ_500MS &&
#endif

View File

@@ -29,7 +29,7 @@ enum BEEP_Type_t
BEEP_1KHZ_60MS_OPTIONAL,
BEEP_500HZ_60MS_DOUBLE_BEEP_OPTIONAL,
BEEP_440HZ_500MS,
#ifndef ENABLE_FEAT_F4HWN
#ifdef ENABLE_DTMF_CALLING
BEEP_880HZ_200MS,
BEEP_880HZ_500MS,
#endif