WIP: audio module still does not work, but enabled for all regions where audio is permitted.

This commit is contained in:
Thomas Göttgens
2022-11-29 11:22:18 +01:00
parent 0dff05e881
commit 4d32f7c5ad
6 changed files with 167 additions and 124 deletions

View File

@@ -19,10 +19,8 @@
#ifdef ARCH_ESP32
#include "modules/esp32/RangeTestModule.h"
#include "modules/esp32/StoreForwardModule.h"
#ifdef USE_SX1280
#include "modules/esp32/AudioModule.h"
#endif
#endif
#if defined(ARCH_ESP32) || defined(ARCH_NRF52)
#include "modules/ExternalNotificationModule.h"
#if !defined(TTGO_T_ECHO)
@@ -68,9 +66,7 @@ void setupModules()
#endif
#ifdef ARCH_ESP32
// Only run on an esp32 based device.
#ifdef USE_SX1280
new AudioModule();
#endif
new ExternalNotificationModule();
storeForwardModule = new StoreForwardModule();