mirror of
https://github.com/esp8266/Arduino.git
synced 2025-08-14 08:03:09 +03:00
Avoid to print Warning Messages on Arduino monitor.
Add debug command on wifi shield to enable debug msgs. Solved issue on repeat quick refresh or stop and go web server
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#define ARD_UTILS_H_
|
||||
|
||||
#include "gpio.h"
|
||||
#include "debug.h"
|
||||
#include "ARDUINO/arduino.h"
|
||||
#define INIT_SIGNAL_FOR_SPI() gpio_enable_pin_pull_up(ARDUINO_HANDSHAKE_PIN)
|
||||
#define BUSY_FOR_SPI() gpio_set_gpio_pin(ARDUINO_HANDSHAKE_PIN)
|
||||
@@ -199,6 +200,10 @@
|
||||
statSpi.lastError = SPI_ERROR_TIMEOUT; \
|
||||
statSpi.status = spi_getStatus(ARD_SPI);
|
||||
|
||||
#define DUMP_TCP_STATE(TTCP) \
|
||||
INFO_TCP("ttcp:%p tpcb:%p state:%d lpcb:%p state:%d\n", \
|
||||
TTCP, TTCP->tpcb, (TTCP->tpcb)?TTCP->tpcb->state:0, \
|
||||
TTCP->lpcb, (TTCP->lpcb)?TTCP->lpcb->state:0);
|
||||
|
||||
|
||||
typedef struct sData
|
||||
|
Reference in New Issue
Block a user