Add get_eth_has_ip()
This commit is contained in:
1 parent
002d4d852b
commit
75f8cb1bef
2 files changed
+6
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user