FreeCalypso > hg > fc-magnetite
comparison 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 |
comparison
equal
deleted
inserted
replaced
655:ba32dc03f550 | 656:9c42614e0a5e |
---|---|
131 #include "r2d/lcds/D_Sample/r2d_task_init_i.c" | 131 #include "r2d/lcds/D_Sample/r2d_task_init_i.c" |
132 #endif | 132 #endif |
133 #endif | 133 #endif |
134 | 134 |
135 #if (R2D_EMBEDDED_LCD == R2D_BOARD_BW_DSAMPLE) | 135 #if (R2D_EMBEDDED_LCD == R2D_BOARD_BW_DSAMPLE) |
136 #include "r2d/lcds/BW_D_Sample/r2d_task_init_i.c" | 136 #ifdef CONFIG_TARGET_LUNA |
137 #include "r2d/lcds/luna/r2d_task_init_i.c" | |
138 #else | |
139 #include "r2d/lcds/BW_D_Sample/r2d_task_init_i.c" | |
140 #endif | |
137 #endif | 141 #endif |
138 | 142 |
139 UINT32 r2d_get_memory_bank_size() | 143 UINT32 r2d_get_memory_bank_size() |
140 { | 144 { |
141 return(R2D_MB_PRIM_SIZE); | 145 return(R2D_MB_PRIM_SIZE); |