Made watchdog enable naming consitent

This commit is contained in:
CarlWachter 2023-09-07 19:30:58 +02:00
parent ad6c4fd297
commit bd9d1c0424
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