diff src/cs/drivers/drv_app/r2d/r2d_inits.c @ 656:9c42614e0a5e

Luna R2D: support D-Sample B&W mode too
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 07 May 2020 23:19:27 +0000
parents 41c03ea90403
children
line wrap: on
line diff
--- a/src/cs/drivers/drv_app/r2d/r2d_inits.c	Thu May 07 22:39:59 2020 +0000
+++ b/src/cs/drivers/drv_app/r2d/r2d_inits.c	Thu May 07 23:19:27 2020 +0000
@@ -133,7 +133,11 @@
 #endif
 
 #if (R2D_EMBEDDED_LCD == R2D_BOARD_BW_DSAMPLE)
-#include "r2d/lcds/BW_D_Sample/r2d_task_init_i.c"
+  #ifdef CONFIG_TARGET_LUNA
+    #include "r2d/lcds/luna/r2d_task_init_i.c"
+  #else
+    #include "r2d/lcds/BW_D_Sample/r2d_task_init_i.c"
+  #endif
 #endif
 
 UINT32 r2d_get_memory_bank_size()