Browse Source

update

master
zhaohe 1 year ago
parent
commit
56bb137288
  1. 2
      components/pipette_module/pipette_ctrl_module_v2.cpp

2
components/pipette_module/pipette_ctrl_module_v2.cpp

@ -499,6 +499,7 @@ int32_t PipetteModule::do_pipette_aspirate(int32_t ul, int32_t zmotor_v) {
m_thread.start(
[this, ul, zmotor_v]() { //
auto submotor = m_zmotor->getMotor();
pipette_enable_zmotor(1);
DO_IN_THREAD(befor_run());
if (zmotor_v != 0) {
@ -544,6 +545,7 @@ int32_t PipetteModule::do_pipette_distribut(int32_t ul, int32_t zmotor_v) {
[this, ul, zmotor_v]() { //
auto submotor = m_zmotor->getMotor();
pipette_enable_zmotor(1);
DO_IN_THREAD(befor_run());
DO_IN_THREAD(m_smtp2.pump_distribut(m_config.aspirate_distribut_pump_vel, ul));
if (zmotor_v != 0) {

Loading…
Cancel
Save