Skip to content

Commit 84b4afb

Browse files
committed
close the loop and be able to report it back out
1 parent 8a1e8fc commit 84b4afb

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

pipettes/firmware/interfaces.cpp

+9-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ auto linear_motor::get_interrupt(motor_hardware::MotorHardware& hw,
7474
}
7575

7676
struct motor_hardware::UsageEEpromConfig plunger_usage_config {
77-
std::array<UsageRequestSet, 3> {
77+
std::array<UsageRequestSet, 4> {
7878
UsageRequestSet{
7979
.eeprom_key = PLUNGER_MOTOR_STEP_KEY,
8080
.type_key =
@@ -94,6 +94,14 @@ struct motor_hardware::UsageEEpromConfig plunger_usage_config {
9494
.type_key = uint16_t(
9595
can::ids::MotorUsageValueType::overpressure_error_count),
9696
.length = usage_storage_task::error_count_usage_len
97+
},
98+
UsageRequestSet {
99+
.eeprom_key = get_pipette_type() == NINETY_SIX_CHANNEL
100+
? EVOTIP_DISPENSEC_COUNT_KEY_96
101+
: EVOTIP_DISPENSEC_COUNT_KEY_SM,
102+
.type_key =
103+
uint16_t(can::ids::MotorUsageValueType::resin_tip_dispense_count),
104+
.length = usage_storage_task::error_count_usage_len
97105
}
98106
}
99107
};

0 commit comments

Comments
 (0)