X-Git-Url: https://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/a7be12a4e68fcaaa92f81a394bc316a592ec6270..64f3f4c19cc280c2bff7ee57d5bcdda036dfcbf8:/drivers/displays/tft/hw/ssd1351.c?ds=inline diff --git a/drivers/displays/tft/hw/ssd1351.c b/drivers/displays/tft/hw/ssd1351.c index bd9e6ac..2c293e4 100644 --- a/drivers/displays/tft/hw/ssd1351.c +++ b/drivers/displays/tft/hw/ssd1351.c @@ -103,16 +103,6 @@ void ssd1351SendByte(uint8_t byte, uint8_t command) } } -/**************************************************************************/ -/*! - @brief Returns the 16-bit (4-hexdigit) controller code -*/ -/**************************************************************************/ -uint16_t ssd1351Type(void) -{ - return 0x1351; -} - /**************************************************************************/ /*! @brief Sets the cursor to the specified X/Y position @@ -279,7 +269,7 @@ void lcdInit(void) // DATA(0xBF); // Clear screen - lcdFillRGB(COLOR_RED); + lcdFillRGB(COLOR_BLACK); // Turn the display on CMD(SSD1351_CMD_SLEEPMODE_DISPLAYON); @@ -458,7 +448,7 @@ void lcdScroll(int16_t pixels, uint16_t fillColor) /**************************************************************************/ uint16_t lcdGetControllerID(void) { - return ssd1351Type(); + return 0x1351; } /**************************************************************************/