Watchdog timer, boot reason tracking, net_poll frame limit, reboot/picoboot CLI commands
This commit is contained in:
@@ -140,7 +140,7 @@ void net_poll(std::span<uint8_t> tx) {
|
||||
w6300::irq_pending = false;
|
||||
w6300::clear_interrupt(w6300::ik_int_all);
|
||||
static uint8_t rx_buf[1518];
|
||||
while (w6300::get_socket_recv_buf(raw_socket) > 0) {
|
||||
for (int i = 0; i < 16 && w6300::get_socket_recv_buf(raw_socket) > 0; i++) {
|
||||
auto result = w6300::recv(raw_socket, std::span{rx_buf});
|
||||
if (!result) break;
|
||||
span_writer tx_writer(tx);
|
||||
|
||||
Reference in New Issue
Block a user