X-Git-Url: https://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/a7be12a4e68fcaaa92f81a394bc316a592ec6270..e8940d3dd9a3c23e904ac75c40cf1f8e546f52fe:/drivers/displays/tft/hw/st7735.c?ds=inline 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; } /*************************************************/