From 64dc419757f3c961736f63523f111caad2cc0c9f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Cl=C3=A9ment=20Foucher?= <cfoucher@laas.fr>
Date: Wed, 13 Jul 2022 16:15:02 +0200
Subject: [PATCH] Update DAC module structure.

---
 zephyr/modules/owntech_dac_driver/zephyr/CMakeLists.txt         | 2 +-
 .../zephyr/{public_include => public_api}/dac.h                 | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
 rename zephyr/modules/owntech_dac_driver/zephyr/{public_include => public_api}/dac.h (99%)

diff --git a/zephyr/modules/owntech_dac_driver/zephyr/CMakeLists.txt b/zephyr/modules/owntech_dac_driver/zephyr/CMakeLists.txt
index b18b1ec..00db459 100644
--- a/zephyr/modules/owntech_dac_driver/zephyr/CMakeLists.txt
+++ b/zephyr/modules/owntech_dac_driver/zephyr/CMakeLists.txt
@@ -1,6 +1,6 @@
 if(CONFIG_OWNTECH_DAC_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_dac_driver/zephyr/public_include/dac.h b/zephyr/modules/owntech_dac_driver/zephyr/public_api/dac.h
similarity index 99%
rename from zephyr/modules/owntech_dac_driver/zephyr/public_include/dac.h
rename to zephyr/modules/owntech_dac_driver/zephyr/public_api/dac.h
index 48a174f..bd35c6d 100644
--- a/zephyr/modules/owntech_dac_driver/zephyr/public_include/dac.h
+++ b/zephyr/modules/owntech_dac_driver/zephyr/public_api/dac.h
@@ -19,7 +19,6 @@
 
 /**
  * @date   2022
- *
  * @author Clément Foucher <clement.foucher@laas.fr>
  */
 
-- 
GitLab