projects
/
hackover2013-badge-firmware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update drivers/displays/tft/hw/readme.txt
[hackover2013-badge-firmware.git]
/
drivers
/
displays
/
tft
/
hw
/
st7735.c
diff --git
a/drivers/displays/tft/hw/st7735.c
b/drivers/displays/tft/hw/st7735.c
index
939015e
..
5b7b3be
100644
(file)
--- a/
drivers/displays/tft/hw/st7735.c
+++ b/
drivers/displays/tft/hw/st7735.c
@@
-45,7
+45,7
@@
#include "core/gpio/gpio.h"
static lcdOrientation_t lcdOrientation = LCD_ORIENTATION_PORTRAIT;
#include "core/gpio/gpio.h"
static lcdOrientation_t lcdOrientation = LCD_ORIENTATION_PORTRAIT;
-static lcdProperties_t st7735Properties = { 128, 160,
FALSE, FALSE, FALSE
};
+static lcdProperties_t st7735Properties = { 128, 160,
false, false, false, true, true
};
/*************************************************/
/* Private Methods */
/*************************************************/
/* Private Methods */
@@
-433,8
+433,7
@@
void lcdScroll(int16_t pixels, uint16_t fillColor)
/*************************************************/
uint16_t lcdGetControllerID(void)
{
/*************************************************/
uint16_t lcdGetControllerID(void)
{
- // ToDo
- return 0;
+ return 0x7735;
}
/*************************************************/
}
/*************************************************/
This page took
0.021939 seconds
and
4
git commands to generate.