diff --git a/include/watchdog.hpp b/include/watchdog.hpp index 02078c4..cd072d2 100644 --- a/include/watchdog.hpp +++ b/include/watchdog.hpp @@ -5,6 +5,7 @@ namespace app { class WatchDogConfig { public: +#if 0 WatchDogConfig() { if (!device_is_ready(m_wtd)) { __ASSERT_NO_MSG(0); @@ -19,6 +20,7 @@ public: private: const device *m_wtd{DEVICE_DT_GET(DT_ALIAS(watchdog0))}; +#endif }; } // namespace app diff --git a/src/main.cpp b/src/main.cpp index 810ba08..546c98a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,4 +1,4 @@ -#include "watchdog.h" +#include "watchdog.hpp" #include "zpp/fmt.hpp" #include #include