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:
@ -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:
|
||||
|
@ -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();
|
||||
|
@ -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(...)
|
||||
|
Reference in New Issue
Block a user