Merge pull request 'Made watchdog enable naming consitent' (#3) from watchdog-enable-naming into libs-rework

Reviewed-on: https://git.intern.spaceteamaachen.de/ALPAKA/rtos2-utils/pulls/3
This commit is contained in:
carlwachter 2023-09-12 11:57:02 +00:00
commit 7a86cfeaaa
2 changed files with 5 additions and 5 deletions

View File

@ -20,7 +20,7 @@
* *
* @ingroup STA_RTOS_BuildConfig * @ingroup STA_RTOS_BuildConfig
*/ */
# define STA_RTOS_SYSTEM_WATCHDOG_ENABLE # define STA_RTOS_WATCHDOG_ENABLE
#endif // DOXYGEN #endif // DOXYGEN
@ -36,7 +36,7 @@
#include <sta/config.hpp> #include <sta/config.hpp>
#ifdef STA_RTOS_SYSTEM_WATCHDOG_ENABLE #ifdef STA_RTOS_WATCHDOG_ENABLE
#include <cstdint> #include <cstdint>
@ -87,6 +87,6 @@ namespace sta
} // namespace sta } // namespace sta
#endif // STA_RTOS_SYSTEM_WATCHDOG_ENABLE #endif // STA_RTOS_WATCHDOG_ENABLE
#endif // STA_RTOS_SYSTEM_WATCHDOG_HPP #endif // STA_RTOS_SYSTEM_WATCHDOG_HPP

View File

@ -1,5 +1,5 @@
#include <sta/rtos/system/watchdog.hpp> #include <sta/rtos/system/watchdog.hpp>
#ifdef STA_RTOS_SYSTEM_WATCHDOG_ENABLE #ifdef STA_RTOS_WATCHDOG_ENABLE
#include <sta/debug/assert.hpp> #include <sta/debug/assert.hpp>
#include <sta/lang.hpp> #include <sta/lang.hpp>
@ -97,4 +97,4 @@ void watchdogTimerCallback(void *)
#endif // STA_RTOS_SYSTEM_WATCHDOG_ENABLE #endif // STA_RTOS_WATCHDOG_ENABLE