mirror of https://github.com/arendst/Tasmota.git
switch off midi for esp32 -> esp32 Compiler bug
This commit is contained in:
parent
fa7e0f938e
commit
7c3f83215a
|
@ -21,6 +21,10 @@
|
||||||
#ifndef _AUDIOGENERATORMIDI_H
|
#ifndef _AUDIOGENERATORMIDI_H
|
||||||
#define _AUDIOGENERATORMIDI_H
|
#define _AUDIOGENERATORMIDI_H
|
||||||
|
|
||||||
|
#if defined(ESP32) && (__GNUC__ >= 8) && (__XTENSA__)
|
||||||
|
// Do not build, Espressif's GCC8+ has a compiler bug
|
||||||
|
#else // __GNUC__ == 8
|
||||||
|
|
||||||
#include "AudioGenerator.h"
|
#include "AudioGenerator.h"
|
||||||
|
|
||||||
#define TSF_NO_STDIO
|
#define TSF_NO_STDIO
|
||||||
|
@ -176,6 +180,7 @@ class AudioGeneratorMIDI : public AudioGenerator
|
||||||
short samplesRendered[256];
|
short samplesRendered[256];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif //__GNUC__ == 8
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue