mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-07-31 06:21:59 +08:00
Add missing debug pipe
as some function need a defined pipe now for output
This commit is contained in:
parent
3397ac9c67
commit
0e749c454d
@ -122,17 +122,21 @@
|
||||
#endif
|
||||
#endif
|
||||
#include <FS.h>*/
|
||||
#define DEBUG_PIPE NO_PIPE
|
||||
#define LOG(string) {FSFILE logfile = SPIFFS.open("/log.txt", "a+");logfile.print(string);logfile.close();}
|
||||
#endif
|
||||
#ifdef DEBUG_OUTPUT_SERIAL
|
||||
#define LOG(string) {Serial.print(string);}
|
||||
#define DEBUG_PIPE SERIAL_PIPE
|
||||
#endif
|
||||
#ifdef DEBUG_OUTPUT_TCP
|
||||
#include "bridge.h"
|
||||
#define LOG(string) {BRIDGE::send2TCP(string);}
|
||||
#define DEBUG_PIPE TCP_PIPE
|
||||
#endif
|
||||
#else
|
||||
#define LOG(string) {}
|
||||
#define DEBUG_PIPE NO_PIPE
|
||||
#endif
|
||||
|
||||
#ifdef SDCARD_FEATURE
|
||||
@ -159,7 +163,7 @@ extern "C" {
|
||||
}
|
||||
#include "wifi.h"
|
||||
//version and sources location
|
||||
#define FW_VERSION "0.9.72"
|
||||
#define FW_VERSION "0.9.75"
|
||||
#define REPOSITORY "https://github.com/luc-github/ESP3D"
|
||||
|
||||
typedef enum {
|
||||
|
@ -100,7 +100,7 @@ void setup()
|
||||
delay(2000);
|
||||
Serial.println(F("M117 ESP EEPROM reset"));
|
||||
#ifdef DEBUG_ESP3D
|
||||
CONFIG::print_config();
|
||||
CONFIG::print_config(DEBUG_PIPE);
|
||||
delay(1000);
|
||||
#endif
|
||||
CONFIG::reset_config();
|
||||
|
Loading…
x
Reference in New Issue
Block a user