1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 14:33:52 +01:00

cpu/esp8266: fix of esp_hexdump function

A space was mission after each field.
This commit is contained in:
Gunar Schorcht 2018-12-26 15:26:18 +01:00 committed by Schorcht
parent b6749ac5b9
commit 46ea36ff52

View File

@ -47,10 +47,10 @@ void esp_hexdump (const void* addr, uint32_t num, char width, uint8_t per_line)
printf ("%08x: ", (uint32_t)((uint8_t*)addr+count*size));
}
switch (width) {
case 'b': printf("%02" PRIx8, addr8[count++]); break;
case 'h': printf("%04" PRIx16, addr16[count++]); break;
case 'w': printf("%08" PRIx32, addr32[count++]); break;
case 'g': printf("%016" PRIx64, addr64[count++]); break;
case 'b': printf("%02" PRIx8 " ", addr8[count++]); break;
case 'h': printf("%04" PRIx16 " ", addr16[count++]); break;
case 'w': printf("%08" PRIx32 " ", addr32[count++]); break;
case 'g': printf("%016" PRIx64 " ", addr64[count++]); break;
default : printf("."); count++; break;
}