X-Git-Url: https://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/2c73edfac33b11a7bca0ff5d2118458101432bde..5337261a68ea89b88624ca6fd7319cadd662e057:/project/commands/drawing/cmd_pixel.c diff --git a/project/commands/drawing/cmd_pixel.c b/project/commands/drawing/cmd_pixel.c index 9acbdd7..0055aaa 100644 --- a/project/commands/drawing/cmd_pixel.c +++ b/project/commands/drawing/cmd_pixel.c @@ -87,7 +87,7 @@ void cmd_getpixel(uint8_t argc, char **argv) uint16_t value = colorsBGR2RGB(lcdGetPixel(x, y)); // Output the results - printf("%d%s", value, CFG_PRINTF_NEWLINE); + printf("0x%04X%s", value, CFG_PRINTF_NEWLINE); } #endif