Skip to content

Commit 95796d2

Browse files
committed
Compile error 8266
1 parent ce81537 commit 95796d2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/ConfigMidi.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
# define TCP_ACTIVE true
1717
#elif defined(ESP8266)
1818
# define MIDI_BLE_ACTIVE false
19-
# define APPLE_MIDI_ACTIVE true
19+
# define APPLE_MIDI_ACTIVE false
2020
# define MDNS_ACTIVE false
21-
# define UDP_ACTIVE true
22-
# define TCP_ACTIVE true
21+
# define UDP_ACTIVE false
22+
# define TCP_ACTIVE false
2323
#elif defined(ARDUINO_ARCH_MBED)
2424
# define APPLE_MIDI_ACTIVE true
2525
# define MIDI_BLE_ACTIVE false

src/apple-midi/applemidi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
*
3030
* =============================================================================
3131
*/
32-
#if TCP_ACTIVE
32+
#if TCP_ACTIVE && APPLE_MIDI_ACTIVE
3333

3434
#include "applemidi.h"
3535

0 commit comments

Comments
 (0)