X-Git-Url: http://git.rohieb.name/hackover2013-badge-firmware.git/blobdiff_plain/6dc0e5dfc2d00d5f2fd0cf684c87cf889b9d4ae9..72bd7e9482f3d8d8c08eac7cf5d8f466eff46aac:/drivers/displays/bitmap/ssd1306/ssd1306.c diff --git a/drivers/displays/bitmap/ssd1306/ssd1306.c b/drivers/displays/bitmap/ssd1306/ssd1306.c index f7d55b0..f8e4ee4 100644 --- a/drivers/displays/bitmap/ssd1306/ssd1306.c +++ b/drivers/displays/bitmap/ssd1306/ssd1306.c @@ -351,16 +351,6 @@ void ssd1306Init(uint8_t vccstate) // I2C Initialisation #if defined SSD1306_BUS_I2C - // Set all pins to output - gpioSetDir(SSD1306_RST_PORT, SSD1306_RST_PORT, gpioDirection_Output); - - // Reset the LCD - gpioSetValue(SSD1306_RST_PORT, SSD1306_RST_PIN, 1); - DELAY(1); - gpioSetValue(SSD1306_RST_PORT, SSD1306_RST_PIN, 0); - DELAY(10); - gpioSetValue(SSD1306_RST_PORT, SSD1306_RST_PIN, 1); - #if defined SSD1306_128_32 // Init sequence taken from datasheet for UG-2832HSWEG04 (128x32 OLED module) ssd1306SendCommand(SSD1306_DISPLAYOFF); // 0xAE