add missing MESHTASTIC_EXCLUDE_AUDIO (#10856)

This commit is contained in:
lasek0
2026-07-03 05:47:02 -05:00
committed by GitHub
co-authored by GitHub
parent 397ff8523a
commit 4be7109a64
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
#include "configuration.h"
#if defined(ARCH_ESP32) && defined(USE_SX1280)
#if defined(ARCH_ESP32) && defined(USE_SX1280) && !MESHTASTIC_EXCLUDE_AUDIO
#include "AudioModule.h"
#include "FSCommon.h"
#include "MeshService.h"
@@ -287,4 +287,4 @@ ProcessMessage AudioModule::handleReceived(const meshtastic_MeshPacket &mp)
return ProcessMessage::CONTINUE;
}
#endif
#endif
+2 -2
View File
@@ -3,7 +3,7 @@
#include "SinglePortModule.h"
#include "concurrency/NotifiedWorkerThread.h"
#include "configuration.h"
#if defined(ARCH_ESP32) && defined(USE_SX1280)
#if defined(ARCH_ESP32) && defined(USE_SX1280) && !MESHTASTIC_EXCLUDE_AUDIO
#include "NodeDB.h"
#include <Arduino.h>
#include <ButterworthFilter.h>
@@ -84,4 +84,4 @@ class AudioModule : public SinglePortModule, public Observable<const UIFrameEven
extern AudioModule *audioModule;
#endif
#endif