|
|
@ -111,6 +111,10 @@ void motor_drive_set_packages_ctr(double position) { |
|
|
|
} |
|
|
|
motor_drive_hex_to_str((char *)buffer, 10, (char *)strbuffer); |
|
|
|
ESP_LOGI(MOTOR_DRIVE, "%s", strbuffer); |
|
|
|
|
|
|
|
//Wait uart receive,if time out return error and output log |
|
|
|
|
|
|
|
//Process the data |
|
|
|
} |
|
|
|
|
|
|
|
void motor_drive_hex_to_str(char *hex, int hex_len, char *str) { |
|
|
|