1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-15 00:02:49 +03:00

Merge branch 'master' of https://github.com/esp8266/Arduino into MD5

This commit is contained in:
Andrew Melvin
2016-01-04 13:06:16 +02:00
13 changed files with 153 additions and 53 deletions

View File

@ -22,7 +22,11 @@
#define U_SPIFFS 100
#define U_AUTH 200
//#define DEBUG_UPDATER Serial
#ifdef DEBUG_ESP_UPDATER
#ifdef DEBUG_ESP_PORT
#define DEBUG_UPDATER DEBUG_ESP_PORT
#endif
#endif
class UpdaterClass {
public:

View File

@ -101,6 +101,9 @@ static void loop_wrapper() {
preloop_update_frequency();
if(!setup_done) {
setup();
#ifdef DEBUG_ESP_PORT
DEBUG_ESP_PORT.setDebugOutput(true);
#endif
setup_done = true;
}
loop();

View File

@ -4,7 +4,9 @@
#include <stddef.h>
#include <stdint.h>
//#define DEBUGV(...) ets_printf(__VA_ARGS__)
#ifdef DEBUG_ESP_CORE
#define DEBUGV(...) ets_printf(__VA_ARGS__)
#endif
#ifndef DEBUGV
#define DEBUGV(...)