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:
bc8119c
)
Clear screen after calibration
author
Kevin Townsend
<kevin@ktownsend.com>
Sat, 24 Mar 2012 01:16:01 +0000
(
02:16
+0100)
committer
Kevin Townsend
<kevin@ktownsend.com>
Sat, 24 Mar 2012 01:16:01 +0000
(
02:16
+0100)
project/commands/drawing/cmd_calibrate.c
patch
|
blob
|
history
diff --git
a/project/commands/drawing/cmd_calibrate.c
b/project/commands/drawing/cmd_calibrate.c
index
fcfd4d2
..
548a36a
100644
(file)
--- a/
project/commands/drawing/cmd_calibrate.c
+++ b/
project/commands/drawing/cmd_calibrate.c
@@
-43,6
+43,7
@@
#include "project/commands.h" // Generic helper functions
#if defined CFG_TFTLCD
+ #include "drivers/displays/tft/lcd.h"
#include "drivers/displays/tft/touchscreen.h"
/**************************************************************************/
@@
-57,6
+58,9
@@
void cmd_calibrate(uint8_t argc, char **argv)
// Run through the calibration process
tsCalibrate();
+ // Clear the screen to avoid confusion
+ lcdFillRGB(0x0000);
+
printf("Calibration complete%s", CFG_PRINTF_NEWLINE);
}
This page took
0.024732 seconds
and
4
git commands to generate.