remove spammy debug

http-comm
Ondřej Hruška 7 years ago
parent 58bd27a082
commit cb71586138
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 6
      esphttpdconfig.mk
  2. 12
      user/screen.c

@ -44,10 +44,10 @@ GLOBAL_CFLAGS = \
-DDEBUG_HTTP=0 \
-DDEBUG_ESPFS=0 \
-DDEBUG_PERSIST=0 \
-DDEBUG_UTFCACHE=1 \
-DDEBUG_UTFCACHE=0 \
-DDEBUG_CGI=0 \
-DDEBUG_WIFI=0 \
-DDEBUG_WS=1 \
-DDEBUG_WS=0 \
-DDEBUG_ANSI=1 \
-DDEBUG_ANSI_NOIMPL=1 \
-DDEBUG_INPUT=0 \
@ -56,6 +56,6 @@ GLOBAL_CFLAGS = \
-DHTTPD_MAX_BACKLOG_SIZE=8192 \
-DHTTPD_MAX_HEAD_LEN=1024 \
-DHTTPD_MAX_POST_LEN=512 \
-DDEBUG_LOGBUF_SIZE=2048 \
-DDEBUG_LOGBUF_SIZE=1024 \
-mforce-l32 \
-DUSE_OPTIMIZE_PRINTF=1

@ -609,7 +609,7 @@ clear_range_noutf(unsigned int from, unsigned int to)
static inline void ICACHE_FLASH_ATTR
utf_free_cell(int row, int col)
{
dbg("free cell (row %d) %d", row, col);
//dbg("free cell (row %d) %d", row, col);
UnicodeCacheRef symbol = screen[row * W + col].symbol;
if (IS_UNICODE_CACHE_REF(symbol))
unicode_cache_remove(symbol);
@ -625,7 +625,7 @@ utf_free_cell(int row, int col)
static inline void ICACHE_FLASH_ATTR
utf_backup_cell(int row, int col)
{
dbg("backup cell (row %d) %d", row, col);
//dbg("backup cell (row %d) %d", row, col);
UnicodeCacheRef symbol = screen[row * W + col].symbol;
if (IS_UNICODE_CACHE_REF(symbol))
unicode_cache_inc(symbol);
@ -640,7 +640,7 @@ utf_backup_cell(int row, int col)
static inline void ICACHE_FLASH_ATTR
copy_cell(int row, int dest_col, int src_col)
{
dbg("copy cell (row %d) %d -> %d", row, src_col, dest_col);
//dbg("copy cell (row %d) %d -> %d", row, src_col, dest_col);
memcpy(screen+row*W+dest_col, screen+row*W+src_col, sizeof(Cell));
}
@ -652,7 +652,7 @@ copy_cell(int row, int dest_col, int src_col)
static inline void ICACHE_FLASH_ATTR
utf_free_row(int row)
{
dbg("free row %d", row);
//dbg("free row %d", row);
for (int col = 0; col < W; col++) {
utf_free_cell(row, col);
}
@ -666,7 +666,7 @@ utf_free_row(int row)
static inline void ICACHE_FLASH_ATTR
utf_backup_row(int row)
{
dbg("backup row %d", row);
//dbg("backup row %d", row);
for (int col = 0; col < W; col++) {
utf_backup_cell(row, col);
}
@ -681,7 +681,7 @@ utf_backup_row(int row)
static inline void ICACHE_FLASH_ATTR
copy_row(int dest, int src)
{
dbg("copy row %d -> %d", src, dest);
//dbg("copy row %d -> %d", src, dest);
memcpy(screen + dest * W, screen + src * W, sizeof(Cell) * W);
}

Loading…
Cancel
Save