From 210ec9ff273ae9542c51b4dfc17cfa4af96c08a5 Mon Sep 17 00:00:00 2001 From: Jin Yoon Date: Fri, 14 Jul 2017 10:24:55 +0900 Subject: [PATCH] Hide internal headers into resource_internal.h Change-Id: I61b268517563d5e721be128f55b87ac9269c098d --- inc/resource.h | 10 ---------- inc/resource_internal.h | 6 ++++++ 2 files changed, 6 insertions(+), 10 deletions(-) diff --git a/inc/resource.h b/inc/resource.h index 68986dc..89fc1c8 100644 --- a/inc/resource.h +++ b/inc/resource.h @@ -25,20 +25,10 @@ #include #include "resource_internal.h" - #include "resource/resource_illuminance_sensor.h" -#include "resource/resource_illuminance_sensor_internal.h" - #include "resource/resource_infrared_motion_sensor.h" -#include "resource/resource_infrared_motion_sensor_internal.h" - #include "resource/resource_infrared_obstacle_avoidance_sensor.h" -#include "resource/resource_infrared_obstacle_avoidance_sensor_internal.h" - #include "resource/resource_touch_sensor.h" -#include "resource/resource_touch_sensor_internal.h" - #include "resource/resource_ultrasonic_sensor.h" -#include "resource/resource_ultrasonic_sensor_internal.h" #endif /* __POSITION_FINDER_RESOURCE_H__ */ diff --git a/inc/resource_internal.h b/inc/resource_internal.h index ae6746b..786266e 100644 --- a/inc/resource_internal.h +++ b/inc/resource_internal.h @@ -24,6 +24,12 @@ #include +#include "resource/resource_illuminance_sensor_internal.h" +#include "resource/resource_infrared_motion_sensor_internal.h" +#include "resource/resource_infrared_obstacle_avoidance_sensor_internal.h" +#include "resource/resource_touch_sensor_internal.h" +#include "resource/resource_ultrasonic_sensor_internal.h" + #define PIN_MAX 40 struct _resource_s { -- 2.7.4