Merge branch 'hosttests'

This commit is contained in:
Earle F. Philhower, III committed 2018-01-19 21:25:34 -08:00
commit 07dee61fbf
10 files changed
+460 -8

No files matched your search

+11 -3
View File
@@ -236,7 +236,7 @@ bool AudioGeneratorMP3::begin(AudioFileSource *source, AudioOutput *output)
#undef stack
extern "C" {
#ifdef ESP32
//TOTO - add ESP32 checks
//TODO - add ESP32 checks
void stack(const char *s, const char *t, int i)
{
}
@@ -244,7 +244,7 @@ extern "C" {
{
return 8192;
}
#else
#elif defined(ESP8266)
#include <cont.h>
extern cont_t g_cont;
@@ -278,6 +278,14 @@ extern "C" {
int freestack = 4 * (sp - g_cont.stack);
return freestack;
}
#endif
#else
void stack(const char *s, const char *t, int i)
{
}
int stackfree()
{
return 8192;
}
#endif
}