mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-15 19:13:18 +00:00
Disable noisy debug
This commit is contained in:
1 parent
b379f81004
commit
eb65d269eb
2 files changed
+4
-4
No files matched your search
+2
-2
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user