fork of SeeedStudioTFTv2

Dependencies:   SPI_TFT_ILI9341

Fork of SeeedStudioTFTv2 by Components

Files at this revision

API Documentation at this revision

Comitter:
rba90
Date:
Mon Sep 12 20:19:25 2016 +0000
Parent:
13:362765fdf287
Commit message:
fix a bug where SeeedStudioTFTv2 will privately inherit from SPI_TFT_ILI9341 when macro USE_SDCARD is defined.

Changed in this revision

SeeedStudioTFTv2.h Show annotated file Show diff for this revision Revisions of this file
diff -r 362765fdf287 -r 913035015ac7 SeeedStudioTFTv2.h
--- a/SeeedStudioTFTv2.h	Tue May 06 18:12:49 2014 +0000
+++ b/SeeedStudioTFTv2.h	Mon Sep 12 20:19:25 2016 +0000
@@ -25,11 +25,11 @@
     int y;
 };
 
-class SeeedStudioTFTv2 : public  
+class SeeedStudioTFTv2 :  
 #ifdef USE_SDCARD
-    SDFileSystem,
+    public SDFileSystem,
 #endif
-    SPI_TFT_ILI9341
+    public SPI_TFT_ILI9341
 {
 public:
     /** create a TFT with touch object connected to the pins: