Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions libraries/lwIP_Ethernet/src/LwipEthernet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,6 @@ int hostByName(const char* aHostname, IPAddress& aResult, int timeout_ms) {
return 0;
}

uint32_t __ethernet_timeout_reached_calls = 0;
static uint32_t _pollingPeriod = 20;

// We have a background pump which calls sys_check_timeouts on a periodic basis
Expand Down Expand Up @@ -241,7 +240,6 @@ static void ethernetTask(void *param) {
// This will only be called under the protection of the async context mutex, so no re-entrancy checks needed
static void ethernet_timeout_reached(__unused async_context_t *context, __unused async_at_time_worker_t *worker) {
assert(worker == &ethernet_timeout_worker);
__ethernet_timeout_reached_calls++;
ethernet_arch_lwip_gpio_mask(); // Ensure non-polled devices won't interrupt us
for (auto handlePacket : _handlePacketList) {
handlePacket.second();
Expand Down