X-Git-Url: https://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/2c73edfac33b11a7bca0ff5d2118458101432bde..b7864004487e7cc6129c3775dd66f8ad9a07528f:/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