From 2c22d684949e9cfcaeb2bc60790837399006768f Mon Sep 17 00:00:00 2001 From: zys Date: Wed, 4 Mar 2026 13:50:33 +0800 Subject: [PATCH] fix: commented all unused module --- include/watchdog.hpp | 2 ++ src/main.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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