From 6b46dfedc86be9890c25ca397e84e033c6f35169 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Cl=C3=A9ment=20Foucher?= <cfoucher@laas.fr>
Date: Wed, 13 Jul 2022 16:16:33 +0200
Subject: [PATCH] Update timer driver structure.

---
 zephyr/modules/owntech_timer_driver/zephyr/CMakeLists.txt       | 2 +-
 .../zephyr/{public_include => public_api}/timer.h               | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename zephyr/modules/owntech_timer_driver/zephyr/{public_include => public_api}/timer.h (100%)

diff --git a/zephyr/modules/owntech_timer_driver/zephyr/CMakeLists.txt b/zephyr/modules/owntech_timer_driver/zephyr/CMakeLists.txt
index 7b5a08f..2889323 100644
--- a/zephyr/modules/owntech_timer_driver/zephyr/CMakeLists.txt
+++ b/zephyr/modules/owntech_timer_driver/zephyr/CMakeLists.txt
@@ -1,6 +1,6 @@
 if(CONFIG_OWNTECH_TIMER_DRIVER)
   # Select directory to add to the include path
-  zephyr_include_directories(./public_include)
+  zephyr_include_directories(./public_api)
   # Define the current folder as a Zephyr library
   zephyr_library()
   # Select source files to be compiled
diff --git a/zephyr/modules/owntech_timer_driver/zephyr/public_include/timer.h b/zephyr/modules/owntech_timer_driver/zephyr/public_api/timer.h
similarity index 100%
rename from zephyr/modules/owntech_timer_driver/zephyr/public_include/timer.h
rename to zephyr/modules/owntech_timer_driver/zephyr/public_api/timer.h
-- 
GitLab