projects
/
hackover2013-badge-firmware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed typos
[hackover2013-badge-firmware.git]
/
drivers
/
displays
/
tft
/
hw
/
st7783.c
diff --git
a/drivers/displays/tft/hw/st7783.c
b/drivers/displays/tft/hw/st7783.c
index
82e9aa2
..
09b0dbb
100644
(file)
--- a/
drivers/displays/tft/hw/st7783.c
+++ b/
drivers/displays/tft/hw/st7783.c
@@
-148,15
+148,6
@@
void st7783Command(uint16_t command, uint16_t data)
st7783WriteData(data);
}
st7783WriteData(data);
}
-/*************************************************/
-/* Returns the 4-hexdigit controller code */
-/*************************************************/
-uint16_t st7783Type(void)
-{
- st7783WriteCmd(0x0);
- return st7783ReadData();
-}
-
/*************************************************/
void st7783SetCursor(uint16_t x, uint16_t y)
{
/*************************************************/
void st7783SetCursor(uint16_t x, uint16_t y)
{
@@
-496,7
+487,7
@@
void lcdScroll(int16_t pixels, uint16_t fillColor)
/*************************************************/
uint16_t lcdGetControllerID(void)
{
/*************************************************/
uint16_t lcdGetControllerID(void)
{
- return
st7783Type()
;
+ return
0x7783
;
}
/*************************************************/
}
/*************************************************/
This page took
0.021118 seconds
and
4
git commands to generate.