changeset 652:41c03ea90403

R2D: Luna LCD driver enabled
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 07 May 2020 08:06:31 +0000
parents 27bb8ec7bbd3
children 094152d97ce7
files src/cs/drivers/drv_app/r2d/r2d_inits.c src/cs/drivers/drv_app/r2d/r2d_refresh.c
diffstat 2 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/cs/drivers/drv_app/r2d/r2d_inits.c	Thu May 07 07:39:54 2020 +0000
+++ b/src/cs/drivers/drv_app/r2d/r2d_inits.c	Thu May 07 08:06:31 2020 +0000
@@ -125,7 +125,11 @@
 #endif
 
 #if (R2D_EMBEDDED_LCD == R2D_BOARD_DSAMPLE)
-#include "r2d/lcds/D_Sample/r2d_task_init_i.c"
+  #ifdef CONFIG_TARGET_LUNA
+    #include "r2d/lcds/luna/r2d_task_init_i.c"
+  #else
+    #include "r2d/lcds/D_Sample/r2d_task_init_i.c"
+  #endif
 #endif
 
 #if (R2D_EMBEDDED_LCD == R2D_BOARD_BW_DSAMPLE)
--- a/src/cs/drivers/drv_app/r2d/r2d_refresh.c	Thu May 07 07:39:54 2020 +0000
+++ b/src/cs/drivers/drv_app/r2d/r2d_refresh.c	Thu May 07 08:06:31 2020 +0000
@@ -102,7 +102,11 @@
 #endif
 
 #if (R2D_EMBEDDED_LCD == R2D_BOARD_DSAMPLE)
-#include "lcds/D_Sample/r2d_task_i.c"
+  #ifdef CONFIG_TARGET_LUNA
+    #include "lcds/luna/r2d_task_i.c"
+  #else
+    #include "lcds/D_Sample/r2d_task_i.c"
+  #endif
 #endif
 
 #if (R2D_EMBEDDED_LCD == R2D_BOARD_BW_DSAMPLE)