chore(firmware): cleanup legacy code and '#define' entries (#6735)
This commit is contained in:
+2
-7
@@ -38,7 +38,7 @@
|
||||
#include "usbd_msc_conf.h"
|
||||
#endif
|
||||
|
||||
#if defined(LIBOPENUI)
|
||||
#if defined(COLORLCD)
|
||||
#include "libopenui.h"
|
||||
#else
|
||||
#include "lib_file.h"
|
||||
@@ -548,7 +548,6 @@ enum AUDIO_SOUNDS {
|
||||
#include "audio.h"
|
||||
#endif
|
||||
|
||||
#include "buzzer.h"
|
||||
#include "translations/translations.h"
|
||||
|
||||
#if defined(HAPTIC)
|
||||
@@ -809,11 +808,7 @@ constexpr uint32_t EARTH_RADIUS = 6371009;
|
||||
|
||||
void varioWakeup();
|
||||
|
||||
#if defined(AUDIO) && defined(BUZZER)
|
||||
#define IS_SOUND_OFF() (g_eeGeneral.buzzerMode==e_mode_quiet && g_eeGeneral.beepMode==e_mode_quiet)
|
||||
#else
|
||||
#define IS_SOUND_OFF() (g_eeGeneral.beepMode == e_mode_quiet)
|
||||
#endif
|
||||
#define IS_SOUND_OFF() (g_eeGeneral.beepMode == e_mode_quiet)
|
||||
|
||||
#define IS_IMPERIAL_ENABLE() (g_eeGeneral.imperial)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user