Skip to content

Commit

Permalink
removed test logs
Browse files Browse the repository at this point in the history
  • Loading branch information
maidnl committed Jul 8, 2024
1 parent 7204508 commit 2610b54
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
2 changes: 0 additions & 2 deletions connectivity/lwipstack/source/LWIPInterfaceEMAC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

#if LWIP_ETHERNET

extern "C" void log_add(const char *fmt, ...);

err_t LWIP::Interface::emac_low_level_output(struct netif *netif, struct pbuf *p)
{
Expand All @@ -42,7 +41,6 @@ err_t LWIP::Interface::emac_low_level_output(struct netif *netif, struct pbuf *p
ret = mbed_if->emac->link_out(p);
}
else {
log_add("!!!! emac is NOT OK ---> RESTART!!!");
mbed_if->emac->restart();
ret = mbed_if->emac->link_out(p);
}
Expand Down
13 changes: 10 additions & 3 deletions connectivity/netsocket/include/netsocket/EMAC.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,16 @@ class EMAC {
*/
virtual void set_memory_manager(EMACMemoryManager &mem_mngr) = 0;

virtual bool is_ready_to_tx() { return false;}
virtual void restart() {}
virtual int get_interface_status() { return -1; }
virtual bool is_ready_to_tx() {
return false;
}

virtual void restart() {
}

virtual int get_interface_status() {
return -1;
}
};


Expand Down

0 comments on commit 2610b54

Please sign in to comment.