File tree 7 files changed +257
-198
lines changed
src/platform/silabs/efr32
7 files changed +257
-198
lines changed Original file line number Diff line number Diff line change 23
23
#include "dmd/dmd.h"
24
24
#include "em_types.h"
25
25
#include "glib.h"
26
+ #if SL_WIFI && !SIWX_917
27
+ #include "spi_multiplex.h"
28
+ #endif // SL_WIFI && !SIWX_917
26
29
#include <stdio.h>
27
30
#include <string.h>
28
- #if (defined(EFR32MG24 ) && defined(SL_WIFI ))
29
- #include "spi_multiplex.h"
30
- #endif
31
31
32
32
// Main Logo and App image
33
33
#define SILICONLABS_X_POSITION ((glibContext.pDisplayGeometry->xSize - SILICONLABS_BITMAP_WIDTH) / 2)
@@ -102,13 +102,13 @@ void demoUIInit(GLIB_Context_t * context)
102
102
103
103
sl_status_t updateDisplay (void )
104
104
{
105
- #if (defined( EFR32MG24 ) && defined( SL_WIFI ))
105
+ #if SL_LCDCTRL_MUX
106
106
sl_wfx_host_pre_lcd_spi_transfer ();
107
- #endif
107
+ #endif // SL_LCDCTRL_MUX
108
108
sl_status_t status = DMD_updateDisplay ();
109
- #if (defined( EFR32MG24 ) && defined( SL_WIFI ))
109
+ #if SL_LCDCTRL_MUX
110
110
sl_wfx_host_post_lcd_spi_transfer ();
111
- #endif
111
+ #endif // SL_LCDCTRL_MUX
112
112
if (status != DMD_OK )
113
113
return SL_STATUS_FAIL ;
114
114
return SL_STATUS_OK ;
Original file line number Diff line number Diff line change 35
35
36
36
#include " sl_board_control.h"
37
37
38
- #if (defined(EFR32MG24) && defined(SL_WIFI))
39
- #include " spi_multiplex.h"
40
- #endif
41
38
#define LCD_SIZE 128
42
39
#define QR_CODE_VERSION 4
43
40
#define QR_CODE_MODULE_SIZE 3
You can’t perform that action at this time.
0 commit comments