Change include guard prefix to STA_CORE

This commit is contained in:
Henrik Stickann
2023-01-19 23:35:15 +01:00
parent c4ef41ddf7
commit 7f2f4a4df9
38 changed files with 121 additions and 121 deletions

View File

@@ -2,8 +2,8 @@
* @file
* @brief CAN controller driver interface.
*/
#ifndef STA_CAN_CONTROLLER_HPP
#define STA_CAN_CONTROLLER_HPP
#ifndef STA_CORE_CAN_CONTROLLER_HPP
#define STA_CORE_CAN_CONTROLLER_HPP
/**
* @defgroup can CAN
@@ -117,4 +117,4 @@ namespace sta
} // namespace sta
#endif // STA_CAN_CONTROLLER_HPP
#endif // STA_CORE_CAN_CONTROLLER_HPP

View File

@@ -2,8 +2,8 @@
* @file
* @brief CAN message filter types.
*/
#ifndef STA_CAN_FILTER_HPP
#define STA_CAN_FILTER_HPP
#ifndef STA_CORE_CAN_FILTER_HPP
#define STA_CORE_CAN_FILTER_HPP
#include <sta/can/id.hpp>
@@ -46,4 +46,4 @@ namespace sta
} // namespace sta
#endif // STA_CAN_FILTER_HPP
#endif // STA_CORE_CAN_FILTER_HPP

View File

@@ -2,8 +2,8 @@
* @file
* @brief CAN frame headers.
*/
#ifndef STA_CAN_HEADERS_HPP
#define STA_CAN_HEADERS_HPP
#ifndef STA_CORE_CAN_HEADERS_HPP
#define STA_CORE_CAN_HEADERS_HPP
#include <sta/can/id.hpp>
@@ -45,4 +45,4 @@ namespace sta
} // namespace sta
#endif // STA_CAN_HEADERS_HPP
#endif // STA_CORE_CAN_HEADERS_HPP

View File

@@ -2,8 +2,8 @@
* @file
* @brief CAN frame ID types.
*/
#ifndef STA_CAN_ID_HPP
#define STA_CAN_ID_HPP
#ifndef STA_CORE_CAN_ID_HPP
#define STA_CORE_CAN_ID_HPP
#include <cstdint>
@@ -115,4 +115,4 @@ namespace sta
#define CAN_EID_MAX UINT32_C(0x3FFFF)
#endif // STA_CAN_ID_HPP
#endif // STA_CORE_CAN_ID_HPP

View File

@@ -1,5 +1,5 @@
#ifndef STA_CAN_ITER_HPP
#define STA_CAN_ITER_HPP
#ifndef STA_CORE_CAN_ITER_HPP
#define STA_CORE_CAN_ITER_HPP
#include <cstdint>
@@ -60,4 +60,4 @@ namespace sta
} // namespace sta
#endif // STA_CAN_ITER_HPP
#endif // STA_CORE_CAN_ITER_HPP

View File

@@ -2,8 +2,8 @@
* @file
* @brief Subscription interface for CAN controller drivers.
*/
#ifndef STA_CAN_SUBSCRIBABLE_HPP
#define STA_CAN_SUBSCRIBABLE_HPP
#ifndef STA_CORE_CAN_SUBSCRIBABLE_HPP
#define STA_CORE_CAN_SUBSCRIBABLE_HPP
#include <sta/can/filter.hpp>
#include <sta/can/headers.hpp>
@@ -101,4 +101,4 @@ namespace sta
#include <sta/can/subscribable.tpp>
#endif // STA_CAN_SUBSCRIBABLE_HPP
#endif // STA_CORE_CAN_SUBSCRIBABLE_HPP

View File

@@ -1,12 +1,12 @@
/**
* @brief Implementation of template class CanController<T>.
*/
#ifndef STA_CAN_SUBSCRIBABLE_TPP
#define STA_CAN_SUBSCRIBABLE_TPP
#ifndef STA_CORE_CAN_SUBSCRIBABLE_TPP
#define STA_CORE_CAN_SUBSCRIBABLE_TPP
#ifndef STA_CAN_SUBSCRIBABLE_HPP
#error "Direct use of internal header. Use <sta/intf/can/subscribable.hpp> instead"
#endif // !STA_CAN_SUBSCRIBABLE_HPP
#ifndef STA_CORE_CAN_SUBSCRIBABLE_HPP
#error "Direct use of internal header. Use <sta/can/subscribable.hpp> instead"
#endif // !STA_CORE_CAN_SUBSCRIBABLE_HPP
#ifndef STA_STDLIB_DISABLE
# include <algorithm> // fill_n
@@ -117,4 +117,4 @@ namespace sta
} // namespace sta
#endif // STA_CAN_SUBSCRIBABLE_TPP
#endif // STA_CORE_CAN_SUBSCRIBABLE_TPP