Rename system_events to events

This commit is contained in:
Henrik Stickann 2023-01-22 00:05:51 +01:00
parent 2d516bd318
commit 6b0f4dd84b
5 changed files with 7 additions and 26 deletions

View File

@ -2,8 +2,8 @@
* @file * @file
* @brief Implementation of system events. * @brief Implementation of system events.
*/ */
#ifndef STA_RTOS_SYSTEM_SYSTEM_EVENTS_HPP #ifndef STA_RTOS_SYSTEM_EVENTS_HPP
#define STA_RTOS_SYSTEM_SYSTEM_EVENTS_HPP #define STA_RTOS_SYSTEM_EVENTS_HPP
/** /**
@ -14,19 +14,6 @@
* Check @ref STA_RTOS_BuildConfig for configuration options. * Check @ref STA_RTOS_BuildConfig for configuration options.
*/ */
#ifdef DOXYGEN
/**
* @brief Enable module.
*
* @ingroup STA_RTOS_BuildConfig
*/
# define STA_RTOS_SYSTEM_EVENTS_ENABLE
#endif // DOXYGEN
#include <sta/config.hpp>
#ifdef STA_RTOS_SYSTEM_EVENTS_ENABLE
#include <cstdint> #include <cstdint>
@ -92,6 +79,4 @@ namespace sta
} // namespace sta } // namespace sta
#endif // STA_RTOS_SYSTEM_EVENTS_ENABLE #endif // STA_RTOS_SYSTEM_EVENTS_HPP
#endif // STA_RTOS_SYSTEM_SYSTEM_EVENTS_HPP

View File

@ -13,7 +13,7 @@
#include <sta/proto/isotp/receiver.hpp> #include <sta/proto/isotp/receiver.hpp>
#include <sta/rtos/defs.hpp> #include <sta/rtos/defs.hpp>
#include <sta/rtos/system/can_bus.hpp> #include <sta/rtos/system/can_bus.hpp>
#include <sta/rtos/system/system_events.hpp> #include <sta/rtos/system/events.hpp>
#include <sta/stm32/hal.hpp> #include <sta/stm32/hal.hpp>
#include <cmsis_os2.h> #include <cmsis_os2.h>

View File

@ -1,5 +1,4 @@
#include <sta/rtos/system/system_events.hpp> #include <sta/rtos/system/events.hpp>
#ifdef STA_RTOS_SYSTEM_EVENTS_ENABLE
#include <sta/assert.hpp> #include <sta/assert.hpp>
@ -60,6 +59,3 @@ namespace sta
} }
} // namespace rtos } // namespace rtos
} // namespace sta } // namespace sta
#endif // STA_RTOS_SYSTEM_EVENTS_ENABLE

View File

@ -5,7 +5,7 @@
#include <sta/assert.hpp> #include <sta/assert.hpp>
#include <sta/lang.hpp> #include <sta/lang.hpp>
#include <sta/rtos/system/can_bus.hpp> #include <sta/rtos/system/can_bus.hpp>
#include <sta/rtos/system/system_events.hpp> #include <sta/rtos/system/events.hpp>
#include <sta/rtos/system/watchdog.hpp> #include <sta/rtos/system/watchdog.hpp>
#include <sta/stm32/init.hpp> #include <sta/stm32/init.hpp>

View File

@ -4,7 +4,7 @@
#include <sta/assert.hpp> #include <sta/assert.hpp>
#include <sta/lang.hpp> #include <sta/lang.hpp>
#include <sta/rtos/defs.hpp> #include <sta/rtos/defs.hpp>
#include <sta/rtos/system/system_events.hpp> #include <sta/rtos/system/events.hpp>
#include <cmsis_os2.h> #include <cmsis_os2.h>
#include <FreeRTOS.h> #include <FreeRTOS.h>