From 360d9d43ea3f4518d7add38f070e532db58af03b Mon Sep 17 00:00:00 2001 From: zwsd Date: Tue, 26 Jul 2022 10:55:33 +0800 Subject: [PATCH] update --- main/motor_drive.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main/motor_drive.c b/main/motor_drive.c index b462c17..60a74e6 100644 --- a/main/motor_drive.c +++ b/main/motor_drive.c @@ -106,9 +106,9 @@ void motor_drive_set_packages_ctr(double position) { checksum = checksum & 0XFF; buffer[9] = checksum; } - for (int i = 0; i < 10; i++) { - ESP_LOGI(MOTOR_DRIVE, "%d", buffer[i]); - } + // for (int i = 0; i < 10; i++) { + // ESP_LOGI(MOTOR_DRIVE, "%d", buffer[i]); + // } // ESP_LOGI(MOTOR_DRIVE, "0X%X", buffer[0]); // motor_drive_hex_to_str((const char *)buffer, 10, (char *)strbuffer); // ESP_LOGI(MOTOR_DRIVE, "%s", strbuffer);