diff src/cs/drivers/drv_app/r2d/r2d_config.h @ 130:a0c5d28798fe

src/cs/drivers/drv_app/r2d: enabled C-Sample config for the C139 target
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 07 Oct 2016 20:27:46 +0000
parents f4ee7ba49bdb
children fd1d9063ad40
line wrap: on
line diff
--- a/src/cs/drivers/drv_app/r2d/r2d_config.h	Fri Oct 07 20:16:50 2016 +0000
+++ b/src/cs/drivers/drv_app/r2d/r2d_config.h	Fri Oct 07 20:27:46 2016 +0000
@@ -19,6 +19,7 @@
 #ifndef _WINDOWS
   #include "config/r2d.cfg"
   #include "config/board.cfg"
+  #include "config/fc-target.cfg"
   #include "config/swconfig.cfg"
 #endif
 
@@ -84,7 +85,8 @@
     #define R2D_REFRESH_PERIOD 40 // ms
     #define R2D_EMBEDDED_LCD R2D_BOARD_COLOR_LCD 
 #else
-    #if ((BOARD == 7) || (BOARD == 8) || (BOARD == 9))
+    #if ((BOARD == 7) || (BOARD == 8) || (BOARD == 9) || \
+		defined(CONFIG_TARGET_C139))
 	// C-Sample is equipped with Mirrored LCD
 	#define R2D_REFRESH_PERIOD 40 // ms
 	#define R2D_EMBEDDED_LCD R2D_MIRRORED_LCD