X-Git-Url: https://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/a7be12a4e68fcaaa92f81a394bc316a592ec6270..d01a237960f2884d8b62686b587aa1f6175772d4:/drivers/displays/tft/hw/st7735.c?ds=sidebyside diff --git a/drivers/displays/tft/hw/st7735.c b/drivers/displays/tft/hw/st7735.c index 939015e..5b7b3be 100644 --- 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; -static lcdProperties_t st7735Properties = { 128, 160, FALSE, FALSE, FALSE }; +static lcdProperties_t st7735Properties = { 128, 160, false, false, false, true, true }; /*************************************************/ /* Private Methods */ @@ -433,8 +433,7 @@ void lcdScroll(int16_t pixels, uint16_t fillColor) /*************************************************/ uint16_t lcdGetControllerID(void) { - // ToDo - return 0; + return 0x7735; } /*************************************************/