|
|
@ -244,7 +244,13 @@ int32_t PipetteModule::do_pipette_clld_test(int32_t zdpos) { |
|
|
|
int32_t PipetteModule::do_pipette_plld_test(int32_t zdpos) { return 0; } |
|
|
|
|
|
|
|
int32_t PipetteModule::pipette_enable_zmotor(int32_t enable) { return m_zmotor->step_motor_enable(enable); } |
|
|
|
int32_t PipetteModule::pipette_get_sensor_sample_data(int32_t index, int32_t *motor_pos, int32_t *cval, int32_t *pval) { return 0; } |
|
|
|
int32_t PipetteModule::pipette_get_sensor_sample_data(int32_t index, int32_t *motor_pos, int32_t *cval, int32_t *pval) { |
|
|
|
if (index > capturedata_num) return err::kparam_out_of_range; |
|
|
|
*motor_pos = capturedata_buf[index].motor_pos; |
|
|
|
*cval = capturedata_buf[index].cap_val; |
|
|
|
*pval = capturedata_buf[index].pressure_val; |
|
|
|
return 0; |
|
|
|
} |
|
|
|
int32_t PipetteModule::pipette_get_sensor_sample_data_num(int32_t *num) { |
|
|
|
*num = capturedata_num; |
|
|
|
return 0; |
|
|
|