mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-28 07:28:13 +08:00
Disable noisy debug
This commit is contained in:
parent
b379f81004
commit
eb65d269eb
@ -8793,8 +8793,8 @@ static size_t mg_tcpip_driver_rt1020_tx(const void *buf, size_t len,
|
||||
MG_ERROR(("No descriptors available"));
|
||||
len = 0; // retry later
|
||||
} else {
|
||||
MG_DEBUG(("sending %4lu, d=%u, c=%#hx %#lx %#lx", len, s_txno,
|
||||
s_txdesc[s_txno].control, ENET->EIR, ENET->ATSTMP));
|
||||
//MG_DEBUG(("sending %4lu, d=%u, c=%#hx %#lx %#lx", len, s_txno,
|
||||
// s_txdesc[s_txno].control, ENET->EIR, ENET->ATSTMP));
|
||||
memcpy(s_txbuf[s_txno], buf, len); // Copy data
|
||||
s_txdesc[s_txno].length = (uint16_t) len; // Set data len
|
||||
// Table 37-34, R, L, TC (Ready, last, transmit CRC after frame
|
||||
|
@ -148,8 +148,8 @@ static size_t mg_tcpip_driver_rt1020_tx(const void *buf, size_t len,
|
||||
MG_ERROR(("No descriptors available"));
|
||||
len = 0; // retry later
|
||||
} else {
|
||||
MG_DEBUG(("sending %4lu, d=%u, c=%#hx %#lx %#lx", len, s_txno,
|
||||
s_txdesc[s_txno].control, ENET->EIR, ENET->ATSTMP));
|
||||
//MG_DEBUG(("sending %4lu, d=%u, c=%#hx %#lx %#lx", len, s_txno,
|
||||
// s_txdesc[s_txno].control, ENET->EIR, ENET->ATSTMP));
|
||||
memcpy(s_txbuf[s_txno], buf, len); // Copy data
|
||||
s_txdesc[s_txno].length = (uint16_t) len; // Set data len
|
||||
// Table 37-34, R, L, TC (Ready, last, transmit CRC after frame
|
||||
|
Loading…
x
Reference in New Issue
Block a user