屏蔽pwm多余打印
authorxue <2144439972@qq.com>
Sat, 28 Feb 2026 08:14:30 +0000 (16:14 +0800)
committerxue <2144439972@qq.com>
Sat, 28 Feb 2026 08:14:30 +0000 (16:14 +0800)
code/sdk/test/platform/testsuite/test_pwm/test_pwm.c
code/sdk/zhihui/drivers/vibrator/vibrator.c

index c9b4523..1a83da6 100644 (file)
@@ -29,7 +29,7 @@
 
 static errcode_t pwm_test_callback(uint8_t channel)
 {
-    PRINT("PWM number is %d, func of interrupt start. \r\n", channel);
+    // PRINT("PWM number is %d, func of interrupt start. \r\n", channel);
     uapi_pwm_isr(channel);
     return ERRCODE_SUCC;
 }
index 15b5f55..a7f51ad 100644 (file)
@@ -51,7 +51,7 @@ static  uint32_t param_index = 0;
 static  uint16_t repeat_times = 0;
 static errcode_t pwm_test_callback(uint8_t channel)
 {
-    PRINT("PWM number is %d, func of interrupt start. repeat_times %d\r\n", channel,repeat_times++);
+    // PRINT("PWM number is %d, func of interrupt start. repeat_times %d\r\n", channel,repeat_times++);
     uapi_pwm_isr(channel);
     return ERRCODE_SUCC;
 }