From 74683ed165f2d9d338fc4d9d88072248ea437ba7 Mon Sep 17 00:00:00 2001 From: wgz-code <820906721@qq.com> Date: Wed, 2 Mar 2022 12:36:18 +0800 Subject: [PATCH] support hs300x to nuttx10.2.0 --- APP_Framework/Framework/transform_layer/nuttx/transform.h | 1 + .../nuttx/boards/arm/stm32/common/src/stm32_hs300x.c | 1 + Ubiquitous/Nuttx/app_match_nuttx/nuttx/drivers/sensors/hs300x.c | 1 + 3 files changed, 3 insertions(+) diff --git a/APP_Framework/Framework/transform_layer/nuttx/transform.h b/APP_Framework/Framework/transform_layer/nuttx/transform.h index 3810bf3ec..0193c4572 100644 --- a/APP_Framework/Framework/transform_layer/nuttx/transform.h +++ b/APP_Framework/Framework/transform_layer/nuttx/transform.h @@ -21,6 +21,7 @@ #ifndef TRANSFORM_H #define TRANSFORM_H +#include #include #include #include diff --git a/Ubiquitous/Nuttx/app_match_nuttx/nuttx/boards/arm/stm32/common/src/stm32_hs300x.c b/Ubiquitous/Nuttx/app_match_nuttx/nuttx/boards/arm/stm32/common/src/stm32_hs300x.c index c3b947a34..5d69ea01a 100644 --- a/Ubiquitous/Nuttx/app_match_nuttx/nuttx/boards/arm/stm32/common/src/stm32_hs300x.c +++ b/Ubiquitous/Nuttx/app_match_nuttx/nuttx/boards/arm/stm32/common/src/stm32_hs300x.c @@ -26,6 +26,7 @@ #include #include +#include #include #include diff --git a/Ubiquitous/Nuttx/app_match_nuttx/nuttx/drivers/sensors/hs300x.c b/Ubiquitous/Nuttx/app_match_nuttx/nuttx/drivers/sensors/hs300x.c index c7c1133b1..d261e4e76 100644 --- a/Ubiquitous/Nuttx/app_match_nuttx/nuttx/drivers/sensors/hs300x.c +++ b/Ubiquitous/Nuttx/app_match_nuttx/nuttx/drivers/sensors/hs300x.c @@ -29,6 +29,7 @@ #include #include #include +#include #include #include