Browse Source

fixed a compiling error while components_init.h changed to components.h

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2300 bbd45198-f89e-11dd-88c7-29a3b14d5316
dzzxzz@gmail.com 12 years ago
parent
commit
2d6bb86360

+ 1 - 1
bsp/ls1bdev/applications/application.c

@@ -17,7 +17,7 @@
 #include <ls1b.h>
 
 #ifdef RT_USING_COMPONENTS_INIT
-#include <components_init.h>
+#include <components.h>
 #endif
 
 #ifdef RT_USING_RTGUI

+ 1 - 1
bsp/ls1bdev/rtconfig.h

@@ -189,7 +189,7 @@
 // </section>
 
 // <section name="RT_USING_RTGUI" description="RTGUI, a graphic user interface" default="true" >
-#define RT_USING_RTGUI
+// #define RT_USING_RTGUI
 // <integer name="RTGUI_NAME_MAX" description="Maximal size of RTGUI object name length" default="16" />
 #define RTGUI_NAME_MAX	16
 // <bool name="RTGUI_USING_FONT16" description="Support 16 weight font" default="true" />

+ 1 - 1
bsp/mb9bf506r/applications/application.c

@@ -23,7 +23,7 @@
 #include "led.h"
 
 #ifdef RT_USING_COMPONENTS_INIT
-#include <components_init.h>
+#include <components.h>
 #endif
 
 #ifdef RT_USING_DFS

+ 1 - 1
bsp/mb9bf506r/project.ewp

@@ -1857,7 +1857,7 @@
   <group>
     <name>Components</name>
     <file>
-      <name>$PROJ_DIR$\..\..\components\init\components_init.c</name>
+      <name>$PROJ_DIR$\..\..\components\init\components.c</name>
     </file>
   </group>
   <group>

+ 2 - 2
bsp/mb9bf506r/project.uvopt

@@ -797,8 +797,8 @@
       <TopLine>0</TopLine>
       <CurrentLine>0</CurrentLine>
       <bDave2>0</bDave2>
-      <PathWithFileName>..\..\components\init\components_init.c</PathWithFileName>
-      <FilenameWithoutPath>components_init.c</FilenameWithoutPath>
+      <PathWithFileName>..\..\components\init\components.c</PathWithFileName>
+      <FilenameWithoutPath>components.c</FilenameWithoutPath>
     </File>
   </Group>
 

+ 2 - 2
bsp/mb9bf506r/project.uvproj

@@ -624,9 +624,9 @@
           <GroupName>Components</GroupName>
           <Files>
             <File>
-              <FileName>components_init.c</FileName>
+              <FileName>components.c</FileName>
               <FileType>1</FileType>
-              <FilePath>..\..\components\init\components_init.c</FilePath>
+              <FilePath>..\..\components\init\components.c</FilePath>
             </File>
           </Files>
         </Group>