mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-18 00:45:55 +08:00
删除不用代码
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
|
||||
#include "example1.h"
|
||||
#include <stdio.h>
|
||||
void example1()
|
||||
{
|
||||
printf("example1\n");
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
|
||||
#ifndef _IOT_EXAMPLE1_H_
|
||||
#define _IOT_EXAMPLE1_H_
|
||||
|
||||
|
||||
void example1();
|
||||
|
||||
|
||||
#endif
|
||||
@@ -1,3 +0,0 @@
|
||||
set(COMPONENT_SRCS "example2.c")
|
||||
set(COMPONENT_ADD_INCLUDEDIRS ". include")
|
||||
register_component()
|
||||
@@ -1,7 +0,0 @@
|
||||
|
||||
#include "example2.h"
|
||||
#include <stdio.h>
|
||||
void example2()
|
||||
{
|
||||
printf("example2\n");
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
|
||||
#ifndef _IOT_EXAMPLE2_H_
|
||||
#define _IOT_EXAMPLE2_H_
|
||||
|
||||
|
||||
void example2();
|
||||
|
||||
|
||||
#endif
|
||||
@@ -1,4 +0,0 @@
|
||||
|
||||
set(COMPONENT_SRCS "main.c")
|
||||
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
||||
register_component()
|
||||
@@ -1,17 +0,0 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include "example1.h"
|
||||
#include "example2.h"
|
||||
|
||||
/******************************************************************************
|
||||
* FunctionName : app_main
|
||||
* Description : entry of user application, init user function here
|
||||
* Parameters : none
|
||||
* Returns : none
|
||||
*******************************************************************************/
|
||||
void app_main()
|
||||
{
|
||||
printf("in app code...\n");
|
||||
example1();
|
||||
example2();
|
||||
}
|
||||
Reference in New Issue
Block a user