ATHandler build warning fixed

pull/11854/head
Antti Kauppila 2019-11-13 09:38:02 +02:00
parent 609612c1f2
commit 8aac93a593
1 changed files with 1 additions and 1 deletions

View File

@ -1606,7 +1606,7 @@ void ATHandler::write_hex_string(char *str, size_t size)
}
char hexbuf[2];
for (int i = 0; i < size; i++) {
for (size_t i = 0; i < size; i++) {
hexbuf[0] = hex_values[((str[i]) >> 4) & 0x0F];
hexbuf[1] = hex_values[(str[i]) & 0x0F];
write(hexbuf, 2);