Add get_eth_has_ip()

This commit is contained in:
feedc0de committed 2023-01-26 11:59:11 +01:00
1 parent 002d4d852b
commit 75f8cb1bef
2 files changed
+6

No files matched your search

+5
View File
@@ -999,6 +999,11 @@ bool get_eth_connected()
{
return wifi_get_status_bits() & ETH_CONNECTED_BIT;
}
bool get_eth_has_ip()
{
return wifi_get_status_bits() & ETH_HAS_IP_BIT;
}
#endif
namespace {