/* * 主机侧单测桩:dbg_log.h(vol_idle_sync 模块专用) * 模块功能:DBG_* 换成计数,让"失败留痕 = 边沿 latch、成功不刷屏"可断言。 * ⚠ 仅供 test/host/vol_idle_sync/ 使用,不参与 MCU 构建。 * 创建日期:2026-10-25 */ #ifndef DBG_LOG_H #define DBG_LOG_H extern int g_vis_error_count; extern int g_vis_info_count; #define DBG_INFO(fmt, ...) do { (void)(fmt); g_vis_info_count++; } while (0) #define DBG_ERROR(fmt, ...) do { (void)(fmt); g_vis_error_count++; } while (0) #endif /* DBG_LOG_H */