Explorar o código

[stm32l475] add BSP_USING_LCD_SAMPLE in rttlogo.h

Meco Man %!s(int64=4) %!d(string=hai) anos
pai
achega
9d8ef7382a
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      bsp/stm32/stm32l475-atk-pandora/applications/rttlogo.h

+ 10 - 0
bsp/stm32/stm32l475-atk-pandora/applications/rttlogo.h

@@ -1,3 +1,10 @@
+#ifndef RTTLOGO_H_
+#define RTTLOGO_H_
+
+#include <rtconfig.h>
+
+#ifdef BSP_USING_LCD_SAMPLE
+
 const unsigned char image_rttlogo[] = { /* 0X10,0X10,0X00,0XF0,0X00,0X45,0X01,0X1B, */
 0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,
 0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,
@@ -2070,3 +2077,6 @@ const unsigned char image_rttlogo[] = { /* 0X10,0X10,0X00,0XF0,0X00,0X45,0X01,0X
 0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,
 0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,0XFF,
 };
+
+#endif
+#endif