Merge branch 'master' of git://github.com/microbuilder/LPC1343CodeBase
[hackover2013-badge-firmware.git] / project / commands / drawing / cmd_pixel.c
index cdc118f..0055aaa 100644 (file)
@@ -84,10 +84,10 @@ void cmd_getpixel(uint8_t argc, char **argv)
   getNumber (argv[1], &y);
 
   // Get pixel and switch R and B
-  uint16_t value = drawBGR2RGB(lcdGetPixel(x, y));
+  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  
This page took 0.026174 seconds and 4 git commands to generate.