/* * 主机侧单测桩:dbg_log.h(run_par 套件专用) * 模块功能:为 cfg_file.c / adc_cal.c / run_par.c 提供主机可编译的日志宏 * (映射为计数)。⚠ 仅供 test/host/run_par/ 使用,不参与 MCU 构建。 * 模式同 test/host/adc_cal/stub/ 先例。 * 创建日期:2026-10-25(道D 运行参数段) */ #ifndef DBG_LOG_H #define DBG_LOG_H extern int g_rptest_err_count; extern int g_rptest_info_count; extern int g_rptest_debug_count; #define DBG_INFO(fmt, ...) do { g_rptest_info_count++; } while (0) #define DBG_DEBUG(fmt, ...) do { g_rptest_debug_count++; } while (0) #define DBG_ERROR(fmt, ...) do { g_rptest_err_count++; } while (0) #endif /* DBG_LOG_H */