remove 'uint8_t p'

This commit is contained in:
DanielR92 2024-10-21 15:41:17 +02:00 committed by GitHub
parent 3290d1223c
commit 7e0bf3eacd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,7 +16,6 @@ const char dayShortNames_P[] PROGMEM = STR_DAYNAME_3_CHAR_LIST;
namespace ah { namespace ah {
void ip2Arr(uint8_t ip[], const char *ipStr) { void ip2Arr(uint8_t ip[], const char *ipStr) {
memset(ip, 0, 4); memset(ip, 0, 4);
uint8_t p = 0;
const char *start = ipStr; const char *start = ipStr;
for (uint8_t i = 0; i < 4; i++) { for (uint8_t i = 0; i < 4; i++) {