chore(V4B): V4.22 — DEBUG改编译器-DDEBUG控制, 删除cmcng.h DEBUG_ENABLE块

- cmcng.h: 删除 DEBUG_ENABLE 宏块, DEBUG 由编译器预处理器设置
- 版本: FIRMWARE_VER 4.20→4.22, SUB 20→22
- 编译调试版: Keil C/C++ 预定义符号加 DEBUG; 发布版不带即关闭打印
This commit is contained in:
wangfq
2026-09-02 11:57:01 +08:00
parent 8cbd69a111
commit 5799bd535d
2 changed files with 13 additions and 10 deletions
+2 -10
View File
@@ -14,10 +14,10 @@
#define __CMCNG_H__
#define PRODUCT_MODEL "DLD154"
#define FIRMWARE_VER "4.20"
#define FIRMWARE_VER "4.22"
#define HARDWARE_VER "3.00"
#define FIRMWARE_VER_MAIN 4
#define FIRMWARE_VER_SUB 20
#define FIRMWARE_VER_SUB 22
#define HARDWARE_VER_MAIN 3
#define HARDWARE_VER_SUB 0
@@ -26,14 +26,6 @@
#include <stdint.h>
#ifndef DEBUG_ENABLE
#define DEBUG_ENABLE 1 // 1=调试串口打印开启(现场分析) 0=关闭(发布), V4.20
#endif
#if DEBUG_ENABLE
#ifndef DEBUG
#define DEBUG
#endif
#endif
#ifdef DEBUG
#define PRINT(X...) printf(X)
#else