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

# Conflicts:
#	variants/tlora_v2_1_18/platformio.ini
This commit is contained in:
Thomas Göttgens
2022-11-29 11:22:18 +01:00
parent efc3f4c0ee
commit f5120a29ec
5 changed files with 167 additions and 121 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();