Fixed alpha blending at 100%
[hackover2013-badge-firmware.git] / drivers / displays / tft / touchscreen.c
index 90af15f..97f448b 100644 (file)
@@ -40,7 +40,7 @@
 #include "core/adc/adc.h"
 #include "core/gpio/gpio.h"
 #include "core/systick/systick.h"
-#include "drivers/eeprom/eeprom.h"
+#include "drivers/storage/eeprom/eeprom.h"
 #include "drivers/displays/tft/lcd.h"
 #include "drivers/displays/tft/drawing.h"
 #include "drivers/displays/tft/fonts/dejavusans9.h"
@@ -170,7 +170,7 @@ uint32_t tsReadY(void)
 /**************************************************************************/
 void tsCalibCenterText(char* text, uint16_t y, uint16_t color)
 {
-  drawString((lcdGetWidth() - drawGetStringWidth(&dejaVuSans9ptFontInfo, text)) / 2, y, color, &dejaVuSans9ptFontInfo, text);
+  fontsDrawString((lcdGetWidth() - fontsGetStringWidth(&dejaVuSans9ptFontInfo, text)) / 2, y, color, &dejaVuSans9ptFontInfo, text);
 }
 
 /**************************************************************************/
@@ -300,7 +300,6 @@ int getDisplayPoint( tsPoint_t * displayPtr, tsPoint_t * screenPtr, tsMatrix_t *
   }
   else
   {
-    // ToDo: Default values required or you can never read LCD position!
     // return TS_ERROR_NOTCALIBRATED;
     return -1;
   }
This page took 0.029134 seconds and 4 git commands to generate.