add APP_Framework/Framework/connection function

This commit is contained in:
Liu_Weichao
2021-06-17 16:18:07 +08:00
parent fba573cc0b
commit 86ef526303
10 changed files with 106 additions and 49 deletions

View File

@@ -50,7 +50,7 @@ static int AppInitDesc(struct InitDesc sub_desc[])
static struct InitDesc framework[] =
{
#ifdef SENSOR_SENSORDEVICE
#ifdef SUPPORT_SENSOR_FRAMEWORK
{ "perception_framework", SensorFrameworkInit },
#endif
@@ -150,7 +150,7 @@ static int ConnectionFrameworkInit(struct InitDesc sub_desc[])
*/
int FrameworkInit()
{
#ifdef SENSOR_SENSORDEVICE
#ifdef SUPPORT_SENSOR_FRAMEWORK
PerceptionFrameworkInit(framework);
#endif