diff --git a/radio/src/audio_arm.h b/radio/src/audio_arm.h index 5a76a1c7a..14009f5f8 100644 --- a/radio/src/audio_arm.h +++ b/radio/src/audio_arm.h @@ -532,13 +532,8 @@ void audioTask(void * pdata); #define AUDIO_BUZZER(a, b) b #endif -#if defined(VOICE) #define AUDIO_ERROR_MESSAGE(e) audioEvent(e) #define AUDIO_TIMER_MINUTE(t) playDuration(t, 0, 0) -#else - #define AUDIO_ERROR_MESSAGE(e) audioEvent(AU_ERROR) - #define AUDIO_TIMER_MINUTE(t) audioDefevent(AU_WARNING1) -#endif void audioKeyPress(); void audioKeyError(); diff --git a/radio/src/buzzer.h b/radio/src/buzzer.h index b43e4d5e9..aa13746f8 100644 --- a/radio/src/buzzer.h +++ b/radio/src/buzzer.h @@ -55,7 +55,6 @@ inline void beep(uint8_t) { } #if !defined(AUDIO) #if defined(BUZZER) - #if defined(VOICE) #define AUDIO_HELLO() PUSH_SYSTEM_PROMPT(AUDIO_HELLO) #define AUDIO_BYE() #define AUDIO_TX_BATTERY_LOW() PUSH_SYSTEM_PROMPT(AU_TX_BATTERY_LOW) @@ -65,17 +64,6 @@ inline void beep(uint8_t) { } // TODO #define AUDIO_TIMER_30() PUSH_SYSTEM_PROMPT(AU_TIMER_30) #define AUDIO_TIMER_20() PUSH_SYSTEM_PROMPT(AU_TIMER_20) - #else - #define AUDIO_HELLO() - #define AUDIO_BYE() - #define AUDIO_TX_BATTERY_LOW() beep(4) - #define AUDIO_INACTIVITY() beep(3) - #define AUDIO_ERROR_MESSAGE(e) beep(4) - #define AUDIO_TIMER_MINUTE(t) beep(2) - // TODO - #define AUDIO_TIMER_30() { beepAgain=2; beep(2); } - #define AUDIO_TIMER_20() { beepAgain=1; beep(2); } - #endif #define AUDIO_KEY_PRESS() beep(0) #define AUDIO_KEY_ERROR() beep(2) diff --git a/radio/src/functions.cpp b/radio/src/functions.cpp index 294d68846..675a9a214 100644 --- a/radio/src/functions.cpp +++ b/radio/src/functions.cpp @@ -36,7 +36,6 @@ void testFunc() } #endif -#if defined(VOICE) PLAY_FUNCTION(playValue, source_t idx) { if (IS_FAI_FORBIDDEN(idx)) @@ -87,7 +86,6 @@ PLAY_FUNCTION(playValue, source_t idx) PLAY_NUMBER(val, 0, 0); } } -#endif void playCustomFunctionFile(const CustomFunctionData * sd, uint8_t id) { @@ -328,7 +326,7 @@ void evalFunctions(const CustomFunctionData * functions, CustomFunctionsContext newActiveFunctions |= (1 << FUNCTION_BACKGND_MUSIC_PAUSE); break; -#elif defined(VOICE) +#else case FUNC_PLAY_SOUND: case FUNC_PLAY_TRACK: case FUNC_PLAY_BOTH: @@ -359,17 +357,6 @@ void evalFunctions(const CustomFunctionData * functions, CustomFunctionsContext } break; } -#else - case FUNC_PLAY_SOUND: - { - tmr10ms_t tmr10ms = get_tmr10ms(); - uint8_t repeatParam = CFN_PLAY_REPEAT(cfn); - if (!functionsContext.lastFunctionTime[i] || (repeatParam && (signed)(tmr10ms-functionsContext.lastFunctionTime[i])>=1000*repeatParam)) { - functionsContext.lastFunctionTime[i] = tmr10ms; - AUDIO_PLAY(AU_SPECIAL_SOUND_FIRST+CFN_PARAM(cfn)); - } - break; - } #endif #if defined(TELEMETRY_FRSKY) && defined(VARIO) diff --git a/radio/src/gui/128x64/gui.h b/radio/src/gui/128x64/gui.h index 49a2174b8..cdf890c0a 100644 --- a/radio/src/gui/128x64/gui.h +++ b/radio/src/gui/128x64/gui.h @@ -379,13 +379,7 @@ void drawVerticalScrollbar(coord_t x, coord_t y, coord_t h, uint16_t offset, uin void drawAlertBox(const pm_char * title, const pm_char * text, const char * action); #endif -#if defined(VOICE) - #define ALERT_SOUND_ARG , uint8_t sound -#else - #define ALERT_SOUND_ARG -#endif - -void showAlertBox(const pm_char * title, const pm_char * text, const char * action ALERT_SOUND_ARG); +void showAlertBox(const pm_char * title, const pm_char * text, const char * action , uint8_t sound); #define SET_SCROLLBAR_X(x) #define LOAD_MODEL_BITMAP() diff --git a/radio/src/gui/128x64/popups.cpp b/radio/src/gui/128x64/popups.cpp index d40bfe1eb..11bd4f924 100644 --- a/radio/src/gui/128x64/popups.cpp +++ b/radio/src/gui/128x64/popups.cpp @@ -77,7 +77,7 @@ void drawAlertBox(const pm_char * title, const pm_char * text, const char * acti #undef MESSAGE_LCD_OFFSET } -void showAlertBox(const pm_char * title, const pm_char * text, const char * action ALERT_SOUND_ARG) +void showAlertBox(const pm_char * title, const pm_char * text, const char * action , uint8_t sound) { drawAlertBox(title, text, action); diff --git a/radio/src/gui/128x64/radio_setup.cpp b/radio/src/gui/128x64/radio_setup.cpp index 9b47d7eb0..2ec1246b3 100644 --- a/radio/src/gui/128x64/radio_setup.cpp +++ b/radio/src/gui/128x64/radio_setup.cpp @@ -55,7 +55,7 @@ enum MenuRadioSetupItems { ITEM_SETUP_SOUND_LABEL, CASE_AUDIO(ITEM_SETUP_BEEP_MODE) CASE_BUZZER(ITEM_SETUP_BUZZER_MODE) - CASE_VOICE(ITEM_SETUP_SPEAKER_VOLUME) + ITEM_SETUP_SPEAKER_VOLUME, ITEM_SETUP_BEEP_VOLUME, ITEM_SETUP_BEEP_LENGTH, CASE_AUDIO(ITEM_SETUP_SPEAKER_PITCH) @@ -131,7 +131,7 @@ void menuRadioSetup(event_t event) } #endif - MENU(STR_MENURADIOSETUP, menuTabGeneral, MENU_RADIO_SETUP, HEADER_LINE+ITEM_SETUP_MAX, { HEADER_LINE_COLUMNS CASE_RTCLOCK(2) CASE_RTCLOCK(2) CASE_BATTGRAPH(1) LABEL(SOUND), CASE_AUDIO(0) CASE_BUZZER(0) CASE_VOICE(0) 0, 0, 0, 0, CASE_AUDIO(0) CASE_VARIO(LABEL(VARIO)) CASE_VARIO(0) CASE_VARIO(0) CASE_VARIO(0) CASE_VARIO(0) CASE_HAPTIC(LABEL(HAPTIC)) CASE_HAPTIC(0) CASE_HAPTIC(0) CASE_HAPTIC(0) 0, LABEL(ALARMS), 0, CASE_CAPACITY(0) CASE_PCBSKY9X(0) 0, 0, 0, 0, IF_ROTARY_ENCODERS(0) LABEL(BACKLIGHT), 0, 0, 0, CASE_PWM_BACKLIGHT(0) CASE_PWM_BACKLIGHT(0) 0, CASE_SPLASH_PARAM(0) CASE_GPS(0) 0, CASE_GPS(0) CASE_PXX(0) 0, 0, IF_FAI_CHOICE(0) 0, CASE_STM32(0) 0, COL_TX_MODE, 0, 1/*to force edit mode*/}); + MENU(STR_MENURADIOSETUP, menuTabGeneral, MENU_RADIO_SETUP, HEADER_LINE+ITEM_SETUP_MAX, { HEADER_LINE_COLUMNS CASE_RTCLOCK(2) CASE_RTCLOCK(2) CASE_BATTGRAPH(1) LABEL(SOUND), CASE_AUDIO(0) CASE_BUZZER(0) 0, 0, 0, 0, 0, CASE_AUDIO(0) CASE_VARIO(LABEL(VARIO)) CASE_VARIO(0) CASE_VARIO(0) CASE_VARIO(0) CASE_VARIO(0) CASE_HAPTIC(LABEL(HAPTIC)) CASE_HAPTIC(0) CASE_HAPTIC(0) CASE_HAPTIC(0) 0, LABEL(ALARMS), 0, CASE_CAPACITY(0) CASE_PCBSKY9X(0) 0, 0, 0, 0, IF_ROTARY_ENCODERS(0) LABEL(BACKLIGHT), 0, 0, 0, CASE_PWM_BACKLIGHT(0) CASE_PWM_BACKLIGHT(0) 0, CASE_SPLASH_PARAM(0) CASE_GPS(0) 0, CASE_GPS(0) CASE_PXX(0) 0, 0, IF_FAI_CHOICE(0) 0, CASE_STM32(0) 0, COL_TX_MODE, 0, 1/*to force edit mode*/}); if (event == EVT_ENTRY) { reusableBuffer.generalSettings.stickMode = g_eeGeneral.stickMode; diff --git a/radio/src/gui/212x64/gui.h b/radio/src/gui/212x64/gui.h index 7e868d30d..b0db1e2ef 100644 --- a/radio/src/gui/212x64/gui.h +++ b/radio/src/gui/212x64/gui.h @@ -78,7 +78,6 @@ void drawColumnHeader(const char * const * headers, uint8_t index); void drawStick(coord_t centrex, int16_t xval, int16_t yval); void drawAlertBox(const char * title, const char * text, const char * action); -#define ALERT_SOUND_ARG , uint8_t sound void showAlertBox(const char * title, const char * text, const char * action, uint8_t sound); void doMainScreenGraphics(); diff --git a/radio/src/gui/480x272/gui.h b/radio/src/gui/480x272/gui.h index 19b55f760..7eac8f04d 100644 --- a/radio/src/gui/480x272/gui.h +++ b/radio/src/gui/480x272/gui.h @@ -81,8 +81,6 @@ FlightModesType editFlightModes(coord_t x, coord_t y, event_t event, FlightModes #define displayFlightModes(...) #endif -#define ALERT_SOUND_ARG , uint8_t sound - // Curve functions coord_t getCurveYCoord(FnFuncP fn, int x, int width); void drawFunction(FnFuncP fn, int offset); diff --git a/radio/src/myeeprom.h b/radio/src/myeeprom.h index 6b78f5368..8663caba3 100644 --- a/radio/src/myeeprom.h +++ b/radio/src/myeeprom.h @@ -53,11 +53,7 @@ #define IS_TRAINER_EXTERNAL_MODULE() false #endif -#if defined(VOICE) #define IS_PLAY_FUNC(func) ((func) >= FUNC_PLAY_SOUND && func <= FUNC_PLAY_VALUE) -#else - #define IS_PLAY_FUNC(func) ((func) == FUNC_PLAY_SOUND) -#endif #define IS_PLAY_BOTH_FUNC(func) (0) #define IS_VOLUME_FUNC(func) ((func) == FUNC_VOLUME) diff --git a/radio/src/opentx.cpp b/radio/src/opentx.cpp index 81b5c2438..aaf9704ad 100644 --- a/radio/src/opentx.cpp +++ b/radio/src/opentx.cpp @@ -1062,7 +1062,7 @@ void checkAlarm() // added by Gohst } } -void alert(const pm_char * title, const pm_char * msg ALERT_SOUND_ARG) +void alert(const pm_char * title, const pm_char * msg , uint8_t sound) { LED_ERROR_BEGIN(); @@ -2048,12 +2048,10 @@ void opentxInit(OPENTX_INIT_ARGS) } #endif -#if defined(VOICE) currentSpeakerVolume = requiredSpeakerVolume = g_eeGeneral.speakerVolume + VOLUME_LEVEL_DEF; #if !defined(SOFTWARE_VOLUME) setScaledVolume(currentSpeakerVolume); #endif -#endif referenceSystemAudioFiles(); audioQueue.start(); diff --git a/radio/src/opentx.h b/radio/src/opentx.h index 6bcce1594..75ab72a60 100644 --- a/radio/src/opentx.h +++ b/radio/src/opentx.h @@ -81,12 +81,6 @@ #define CASE_AUDIO(x) #endif -#if defined(VOICE) - #define CASE_VOICE(x) x, -#else - #define CASE_VOICE(x) -#endif - #if defined(PWM_BACKLIGHT) #define CASE_PWM_BACKLIGHT(x) x, #else @@ -557,15 +551,12 @@ uint16_t evalChkSum(); #if !defined(GUI) #define RAISE_ALERT(...) #define ALERT(...) -#elif defined(VOICE) +#else #define RAISE_ALERT(title, msg, info, sound) showAlertBox(title, msg, info, sound) #define ALERT(title, msg, sound) alert(title, msg, sound) -#else - #define RAISE_ALERT(title, msg, info, sound) showAlertBox(title, msg, info) - #define ALERT(title, msg, sound) alert(title, msg) #endif -void alert(const pm_char * t, const pm_char * s ALERT_SOUND_ARG); +void alert(const pm_char * t, const pm_char * s , uint8_t sound); enum PerOutMode { e_perout_mode_normal = 0, @@ -1090,11 +1081,9 @@ uint16_t crc16(const uint8_t * ptr, uint32_t len); enum AUDIO_SOUNDS { AUDIO_HELLO, AU_BYE, -#if defined(VOICE) AU_THROTTLE_ALERT, AU_SWITCH_ALERT, AU_BAD_RADIODATA, -#endif AU_TX_BATTERY_LOW, AU_INACTIVITY, AU_RSSI_ORANGE, diff --git a/radio/src/translations.h b/radio/src/translations.h index d62d69d0d..ca629f870 100644 --- a/radio/src/translations.h +++ b/radio/src/translations.h @@ -757,7 +757,6 @@ extern const pm_char STR_CONFIRMRESET[]; extern const pm_char STR_TOO_MANY_LUA_SCRIPTS[]; extern const pm_char STR_BLCOLOR[]; -#if defined(VOICE) struct LanguagePack { const char * id; const char * name; @@ -807,15 +806,6 @@ extern const pm_char STR_BLCOLOR[]; #define LANGUAGE_PACK_DECLARE_DEFAULT(lng, name) LANGUAGE_PACK_DECLARE(lng, name); const LanguagePack * currentLanguagePack = & lng ## LanguagePack; uint8_t currentLanguagePackIdx inline PLAY_FUNCTION(playNumber, getvalue_t number, uint8_t unit, uint8_t flags) { currentLanguagePack->playNumber(number, unit, flags, id); } inline PLAY_FUNCTION(playDuration, int seconds, uint8_t flags) { currentLanguagePack->playDuration(seconds, flags, id); } -#elif defined(VOICE) - PLAY_FUNCTION(playNumber, getvalue_t number, uint8_t unit, uint8_t att); - PLAY_FUNCTION(playDuration, int seconds); - #define LANGUAGE_PACK_DECLARE(lng, name) - #define LANGUAGE_PACK_DECLARE_DEFAULT(lng, name) -#else - #define LANGUAGE_PACK_DECLARE(lng, name) - #define LANGUAGE_PACK_DECLARE_DEFAULT(lng, name) -#endif extern const pm_char STR_MODELNAME[]; extern const pm_char STR_PHASENAME[]; diff --git a/radio/src/translations/tts_cz.cpp b/radio/src/translations/tts_cz.cpp index 819ea6f3e..c3277d54f 100644 --- a/radio/src/translations/tts_cz.cpp +++ b/radio/src/translations/tts_cz.cpp @@ -39,7 +39,6 @@ enum CzechPrompts { CZ_PROMPT_UNITS_BASE = 118, // (jeden)volt,(dva)volty,(pet)voltu,(desetina)voltu }; -#if defined(VOICE) #define CZ_PUSH_UNIT_PROMPT(u, p) cz_pushUnitPrompt((u), (p), id) @@ -184,4 +183,3 @@ I18N_PLAY_FUNCTION(cz, playDuration, int seconds PLAY_DURATION_ATT) LANGUAGE_PACK_DECLARE(cz, "Czech"); -#endif diff --git a/radio/src/translations/tts_de.cpp b/radio/src/translations/tts_de.cpp index d9e04376c..073863c2f 100644 --- a/radio/src/translations/tts_de.cpp +++ b/radio/src/translations/tts_de.cpp @@ -68,7 +68,6 @@ enum GermanPrompts { }; -#if defined(VOICE) #define DE_PUSH_UNIT_PROMPT(u) de_pushUnitPrompt((u), id) I18N_PLAY_FUNCTION(de, pushUnitPrompt, uint8_t unitprompt) @@ -214,4 +213,3 @@ I18N_PLAY_FUNCTION(de, playDuration, int seconds PLAY_DURATION_ATT) LANGUAGE_PACK_DECLARE(de, "Deutsch"); -#endif diff --git a/radio/src/translations/tts_en.cpp b/radio/src/translations/tts_en.cpp index 60d56a5bb..b19d342e3 100644 --- a/radio/src/translations/tts_en.cpp +++ b/radio/src/translations/tts_en.cpp @@ -48,7 +48,6 @@ enum EnglishPrompts { EN_PROMPT_POINT_BASE = 167, //.0 - .9 }; -#if defined(VOICE) #define EN_PUSH_UNIT_PROMPT(u, p) en_pushUnitPrompt((u), (p), id) @@ -141,4 +140,3 @@ I18N_PLAY_FUNCTION(en, playDuration, int seconds PLAY_DURATION_ATT) LANGUAGE_PACK_DECLARE_DEFAULT(en, "English"); -#endif diff --git a/radio/src/translations/tts_es.cpp b/radio/src/translations/tts_es.cpp index 94f7049fc..9394800b6 100644 --- a/radio/src/translations/tts_es.cpp +++ b/radio/src/translations/tts_es.cpp @@ -87,7 +87,6 @@ enum SpanishPrompts { }; -#if defined(VOICE) #define ES_PUSH_UNIT_PROMPT(u) es_pushUnitPrompt((u), id) I18N_PLAY_FUNCTION(es, pushUnitPrompt, uint8_t unitprompt) @@ -210,4 +209,3 @@ I18N_PLAY_FUNCTION(es, playDuration, int seconds PLAY_DURATION_ATT) LANGUAGE_PACK_DECLARE(es, "Espanol"); -#endif diff --git a/radio/src/translations/tts_fr.cpp b/radio/src/translations/tts_fr.cpp index 1ea6bc7b4..57d762db6 100644 --- a/radio/src/translations/tts_fr.cpp +++ b/radio/src/translations/tts_fr.cpp @@ -52,7 +52,6 @@ enum FrenchPrompts { FR_PROMPT_VIRGULE_BASE = 180, //,0 - ,9 }; -#if defined(VOICE) #define FR_PUSH_UNIT_PROMPT(u) fr_pushUnitPrompt((u), id) @@ -169,4 +168,3 @@ I18N_PLAY_FUNCTION(fr, playDuration, int seconds PLAY_DURATION_ATT) LANGUAGE_PACK_DECLARE(fr, "Francais"); -#endif diff --git a/radio/src/translations/tts_hu.cpp b/radio/src/translations/tts_hu.cpp index 5e1bdcb48..6b4c1c90f 100644 --- a/radio/src/translations/tts_hu.cpp +++ b/radio/src/translations/tts_hu.cpp @@ -48,7 +48,6 @@ enum HungarianPrompts { HU_PROMPT_POINT_BASE = 165, //.0 - .9 }; -#if defined(VOICE) #define HU_PUSH_UNIT_PROMPT(u, p) hu_pushUnitPrompt((u), (p), id) @@ -142,4 +141,3 @@ I18N_PLAY_FUNCTION(hu, playDuration, int seconds PLAY_DURATION_ATT) LANGUAGE_PACK_DECLARE(hu, "Hungarian"); -#endif diff --git a/radio/src/translations/tts_it.cpp b/radio/src/translations/tts_it.cpp index 3f202c1c2..ce4a167ca 100644 --- a/radio/src/translations/tts_it.cpp +++ b/radio/src/translations/tts_it.cpp @@ -59,7 +59,6 @@ enum ItalianPrompts { }; -#if defined(VOICE) #define IT_PUSH_UNIT_PROMPT(u, p) it_pushUnitPrompt((u), (p), id) I18N_PLAY_FUNCTION(it, pushUnitPrompt, uint8_t unitprompt, int16_t number) @@ -177,4 +176,3 @@ I18N_PLAY_FUNCTION(it, playDuration, int seconds PLAY_DURATION_ATT) LANGUAGE_PACK_DECLARE(it, "Italiano"); -#endif diff --git a/radio/src/translations/tts_nl.cpp b/radio/src/translations/tts_nl.cpp index a8fb0c9e9..235e18285 100644 --- a/radio/src/translations/tts_nl.cpp +++ b/radio/src/translations/tts_nl.cpp @@ -35,7 +35,6 @@ enum DutchPrompts { NL_PROMPT_POINT_BASE = 165, //.0 - .9 }; -#if defined(VOICE) #define NL_PUSH_UNIT_PROMPT(u, p) nl_pushUnitPrompt((u), (p), id) @@ -128,4 +127,3 @@ I18N_PLAY_FUNCTION(nl, playDuration, int seconds PLAY_DURATION_ATT) LANGUAGE_PACK_DECLARE(nl, "Nederlands"); -#endif diff --git a/radio/src/translations/tts_pl.cpp b/radio/src/translations/tts_pl.cpp index 28dcd4a1c..4d3be9773 100644 --- a/radio/src/translations/tts_pl.cpp +++ b/radio/src/translations/tts_pl.cpp @@ -63,7 +63,6 @@ enum PolishPrompts { PL_PROMPT_FEET_PER_SECOND = PL_PROMPT_UNITS_BASE+(UNIT_FEET_PER_SECOND*4), }; -#if defined(VOICE) #define PL_PUSH_UNIT_PROMPT(u, p) pl_pushUnitPrompt((u), (p), id) @@ -232,4 +231,3 @@ I18N_PLAY_FUNCTION(pl, playDuration, int seconds PLAY_DURATION_ATT) LANGUAGE_PACK_DECLARE(pl, "Polish"); -#endif diff --git a/radio/src/translations/tts_pt.cpp b/radio/src/translations/tts_pt.cpp index ee6fff42d..34a3ff75b 100644 --- a/radio/src/translations/tts_pt.cpp +++ b/radio/src/translations/tts_pt.cpp @@ -81,7 +81,6 @@ enum PortuguesePrompts { PT_PROMPT_FEET_PER_SECOND = PT_PROMPT_UNITS_BASE+UNIT_FEET_PER_SECOND, }; -#if defined(VOICE) #define PT_PUSH_UNIT_PROMPT(u) pt_pushUnitPrompt((u), id) @@ -189,4 +188,3 @@ I18N_PLAY_FUNCTION(pt, playDuration, int seconds PLAY_DURATION_ATT) LANGUAGE_PACK_DECLARE(pt, "Portugues"); -#endif diff --git a/radio/src/translations/tts_ru.cpp b/radio/src/translations/tts_ru.cpp index 20c4ef53e..728492741 100644 --- a/radio/src/translations/tts_ru.cpp +++ b/radio/src/translations/tts_ru.cpp @@ -43,7 +43,6 @@ enum RusPrompts { #define FEMALE 0x01 #define RU_FEMALE_UNIT 0xFF -#if defined(VOICE) #define RU_PUSH_UNIT_PROMPT(u, p) ru_pushUnitPrompt((u), (p), id) @@ -186,4 +185,3 @@ I18N_PLAY_FUNCTION(ru, playDuration, int seconds PLAY_DURATION_ATT) LANGUAGE_PACK_DECLARE(ru, "Russian"); -#endif diff --git a/radio/src/translations/tts_se.cpp b/radio/src/translations/tts_se.cpp index 22651da07..13b7f69f8 100644 --- a/radio/src/translations/tts_se.cpp +++ b/radio/src/translations/tts_se.cpp @@ -49,7 +49,6 @@ enum SwedishPrompts { SE_PROMPT_POINT_BASE = 165, //.0 - .9 }; -#if defined(VOICE) #define SE_PUSH_UNIT_PROMPT(u, p) se_pushUnitPrompt((u), (p), id) @@ -137,4 +136,3 @@ I18N_PLAY_FUNCTION(se, playDuration, int seconds PLAY_DURATION_ATT) LANGUAGE_PACK_DECLARE(se, "Swedish"); -#endif diff --git a/radio/src/translations/tts_sk.cpp b/radio/src/translations/tts_sk.cpp index 0f34fac13..6b18c350f 100644 --- a/radio/src/translations/tts_sk.cpp +++ b/radio/src/translations/tts_sk.cpp @@ -55,7 +55,6 @@ enum SlovakPrompts { }; -#if defined(VOICE) #define SK_PUSH_UNIT_PROMPT(u, p) sk_pushUnitPrompt((u), (p), id) @@ -197,4 +196,3 @@ I18N_PLAY_FUNCTION(sk, playDuration, int seconds PLAY_DURATION_ATT) LANGUAGE_PACK_DECLARE(sk, "Slovak"); -#endif