mirror of https://github.com/arendst/Tasmota.git
No midi since esp32 compiler bug
This commit is contained in:
parent
7c3f83215a
commit
58e3297b07
|
@ -58,6 +58,10 @@
|
||||||
|
|
||||||
#include "AudioGeneratorMIDI.h"
|
#include "AudioGeneratorMIDI.h"
|
||||||
|
|
||||||
|
#if defined(ESP32) && (__GNUC__ >= 8) && (__XTENSA__)
|
||||||
|
// Do not build, Espressif's GCC8+ has a compiler bug
|
||||||
|
#else // __GNUC__ == 8
|
||||||
|
|
||||||
#pragma GCC optimize ("O3")
|
#pragma GCC optimize ("O3")
|
||||||
|
|
||||||
#define TSF_NO_STDIO
|
#define TSF_NO_STDIO
|
||||||
|
@ -637,3 +641,4 @@ void AudioGeneratorMIDI::MakeStreamFromAFS(AudioFileSource *src, tsf_stream *afs
|
||||||
afs->size = &afs_size;
|
afs->size = &afs_size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif //__GNUC__ == 8
|
||||||
|
|
Loading…
Reference in New Issue