控制方式修改

This commit is contained in:
2025-10-25 19:21:10 +08:00
parent 2cb9446870
commit 5abc24f215
3 changed files with 10 additions and 11 deletions
@@ -15,7 +15,7 @@ volatile uint16_t g_accelTimer = 0;
static uint16_t accelCounter = 0;
static uint8_t DcMotorDispEn = false;
static uint8_t DcMotorDispEn = true;
#define DCMOTOR_DBG_LOG(...) { if(DcMotorDispEn) DBG_LOG(__VA_ARGS__);}
#define DCMOTOR_DBG_ARRAY(ARRAY, SIZE) { if(DcMotorDispEn) {DBG_ARRAY(ARRAY,SIZE)}}