projects
/
hackover2013-badge-firmware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7ff936f
)
Changed output from dec to hex
author
Kevin Townsend
<kevin@ktownsend.com>
Fri, 23 Mar 2012 04:57:34 +0000
(
05:57
+0100)
committer
Kevin Townsend
<kevin@ktownsend.com>
Fri, 23 Mar 2012 04:57:34 +0000
(
05:57
+0100)
project/commands/drawing/cmd_pixel.c
patch
|
blob
|
history
diff --git
a/project/commands/drawing/cmd_pixel.c
b/project/commands/drawing/cmd_pixel.c
index
9acbdd7
..
0055aaa
100644
(file)
--- 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
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
}
#endif
This page took
0.026249 seconds
and
4
git commands to generate.