Refactor and clean up codebase
- Removed unused constants and type aliases in app_spi_command_defs.h and temp_sensor.h. - Simplified ISpiCommandHandler destructor to default. - Eliminated redundant methods and comments in temp_sensor and usart0 files. - Consolidated writeU32Le function to app_spi_command_defs.h for reuse. - Updated comments for clarity and accuracy in task_manager.h and task_runner.cpp. - Removed hardfault.h as it contained no declarations. - Cleaned up CANFD and watchdog implementations by removing dead code and unnecessary comments. - Updated version numbers in config.h to reflect recent changes. - Enhanced error handling and diagnostics in hardfault handling.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/**
|
||||
/**
|
||||
* @file watchdog.h
|
||||
* @brief APP 独立看门狗模块(FWDGT)。
|
||||
*
|
||||
@@ -17,9 +17,6 @@ public:
|
||||
|
||||
/** @brief 喂狗(重载计数器),应在主循环中周期调用。 */
|
||||
static void feed();
|
||||
|
||||
/** @brief 停止喂狗,让看门狗自然超时触发复位跳转 BOOT。 */
|
||||
static void abandon();
|
||||
};
|
||||
|
||||
#endif /* DEVICE_WATCHDOG_H */
|
||||
|
||||
Reference in New Issue
Block a user