mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-28 23:49:44 +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"));
|
MG_ERROR(("No descriptors available"));
|
||||||
len = 0; // retry later
|
len = 0; // retry later
|
||||||
} else {
|
} else {
|
||||||
MG_DEBUG(("sending %4lu, d=%u, c=%#hx %#lx %#lx", len, s_txno,
|
//MG_DEBUG(("sending %4lu, d=%u, c=%#hx %#lx %#lx", len, s_txno,
|
||||||
s_txdesc[s_txno].control, ENET->EIR, ENET->ATSTMP));
|
// s_txdesc[s_txno].control, ENET->EIR, ENET->ATSTMP));
|
||||||
memcpy(s_txbuf[s_txno], buf, len); // Copy data
|
memcpy(s_txbuf[s_txno], buf, len); // Copy data
|
||||||
s_txdesc[s_txno].length = (uint16_t) len; // Set data len
|
s_txdesc[s_txno].length = (uint16_t) len; // Set data len
|
||||||
// Table 37-34, R, L, TC (Ready, last, transmit CRC after frame
|
// 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"));
|
MG_ERROR(("No descriptors available"));
|
||||||
len = 0; // retry later
|
len = 0; // retry later
|
||||||
} else {
|
} else {
|
||||||
MG_DEBUG(("sending %4lu, d=%u, c=%#hx %#lx %#lx", len, s_txno,
|
//MG_DEBUG(("sending %4lu, d=%u, c=%#hx %#lx %#lx", len, s_txno,
|
||||||
s_txdesc[s_txno].control, ENET->EIR, ENET->ATSTMP));
|
// s_txdesc[s_txno].control, ENET->EIR, ENET->ATSTMP));
|
||||||
memcpy(s_txbuf[s_txno], buf, len); // Copy data
|
memcpy(s_txbuf[s_txno], buf, len); // Copy data
|
||||||
s_txdesc[s_txno].length = (uint16_t) len; // Set data len
|
s_txdesc[s_txno].length = (uint16_t) len; // Set data len
|
||||||
// Table 37-34, R, L, TC (Ready, last, transmit CRC after frame
|
// Table 37-34, R, L, TC (Ready, last, transmit CRC after frame
|
||||||
|
Loading…
x
Reference in New Issue
Block a user