mirror of
https://github.com/KevinMidboe/TinyGSM.git
synced 2025-10-29 18:00:18 +00:00
Fix ambiguous overload for empty ip address for ESP's
This commit is contained in:
@@ -462,7 +462,7 @@ public:
|
|||||||
if (res != 1)
|
if (res != 1)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
return localIP() != 0;
|
return localIP() != IPAddress(0,0,0,0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -500,7 +500,7 @@ public:
|
|||||||
if (res != 1)
|
if (res != 1)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
return localIP() != 0;
|
return localIP() != IPAddress(0,0,0,0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -528,7 +528,7 @@ public:
|
|||||||
if (res != 1)
|
if (res != 1)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
return localIP() != 0;
|
return localIP() != IPAddress(0,0,0,0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -598,7 +598,7 @@ public:
|
|||||||
if (res != 1)
|
if (res != 1)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
return localIP() != 0;
|
return localIP() != IPAddress(0,0,0,0);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user