From 6db17a22a6db78b6c35e1cf080501e200f459ea1 Mon Sep 17 00:00:00 2001 From: zhaohe Date: Sat, 7 Dec 2024 00:58:30 +0800 Subject: [PATCH] v201 --- .settings/language.settings.xml | 4 ++-- README.md | 5 +++++ usrc/module/tmc_motor_group.cpp | 2 +- usrc/project_configs.h | 2 +- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.settings/language.settings.xml b/.settings/language.settings.xml index 179311e..00cf40f 100644 --- a/.settings/language.settings.xml +++ b/.settings/language.settings.xml @@ -5,7 +5,7 @@ - + @@ -16,7 +16,7 @@ - + diff --git a/README.md b/README.md index 25ee790..e23063c 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,11 @@ V114 1.添加加液泵,液路,进气电磁阀控制 + V200 + 1. 去掉泵机每次下发指令时,重新初始化5130寄存器的逻辑 + + V201 + 1.修复泵机启动不起来的BUG ``` diff --git a/usrc/module/tmc_motor_group.cpp b/usrc/module/tmc_motor_group.cpp index 8c28348..18a12b9 100644 --- a/usrc/module/tmc_motor_group.cpp +++ b/usrc/module/tmc_motor_group.cpp @@ -181,7 +181,7 @@ void TmcMotorGroup::fn_pump_rotate(ProcessContext* cxt) { // motor(GET_PARAM(0))->enable(false); // motor(GET_PARAM(0))->refreshcfg(); - // motor(GET_PARAM(0))->enable(true); + motor(GET_PARAM(0))->enable(true); motor(GET_PARAM(0))->rotate(velocity); zcanbus_send_ack(cxt->packet, NULL, 0); diff --git a/usrc/project_configs.h b/usrc/project_configs.h index 1a1b23a..0e401c4 100644 --- a/usrc/project_configs.h +++ b/usrc/project_configs.h @@ -15,7 +15,7 @@ * @brief 基础配置 * */ -#define SOFTWARE_VERSION 200 // 软件版本 +#define SOFTWARE_VERSION 201 // 软件版本 #define HARDWARE_VERSION 1 // 硬件版本 #define PROJECT "transmit_disinfection_micro_re" // 工程名称 #define SN_HEADER "SN" // SN号前缀