diff src/cs/drivers/drv_app/r2d/r2d_config.h @ 6:b55b47f49638

FC Tourmaline R2D_EMBEDDED_LCD config change
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 06:49:33 +0000
parents 927e8b825ed1
children c905daaff834
line wrap: on
line diff
--- a/src/cs/drivers/drv_app/r2d/r2d_config.h	Fri Oct 16 06:43:34 2020 +0000
+++ b/src/cs/drivers/drv_app/r2d/r2d_config.h	Fri Oct 16 06:49:33 2020 +0000
@@ -81,26 +81,9 @@
        #define R2D_EMBEDDED_LCD R2D_PC_COLOR_LCD
 #endif
 
-#if (R2D_LCD_TEST == 1)
-    #define R2D_REFRESH_PERIOD 40 // ms
-    #define R2D_EMBEDDED_LCD R2D_BOARD_COLOR_LCD 
-#else
-    #if ((BOARD == 7) || (BOARD == 8) || (BOARD == 9))
-	// C-Sample is equipped with Mirrored LCD
-	#define R2D_REFRESH_PERIOD 40 // ms
-	#define R2D_EMBEDDED_LCD R2D_MIRRORED_LCD 
-    #elif ((BOARD == 40) || (BOARD == 41) || (BOARD == 42) || (BOARD == 43))
-       #if DSAMPLE_FULL_COLOR
-         // D-Sample Board with Color Display
-	 #define R2D_REFRESH_PERIOD 40 // ms
-	 #define R2D_EMBEDDED_LCD R2D_BOARD_DSAMPLE
-       #else
-         // D-Sample Board with simulated B&W Display
-         #define R2D_REFRESH_PERIOD 40 // ms
-         #define R2D_EMBEDDED_LCD R2D_BOARD_BW_DSAMPLE
-       #endif
-    #endif
-#endif
+/* FreeCalypso Tourmaline: R2D_EMBEDDED_LCD is set in r2d.cfg */
+
+#define R2D_REFRESH_PERIOD 40 // ms
 
 // Launch R2D_REFRESH_LOOP to estimate the time
 // taken by one loop