Skip to content

Commit

Permalink
Update pipettes/firmware/main.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Seth Foster <[email protected]>
  • Loading branch information
caila-marashaj and sfoster1 authored Aug 14, 2023
1 parent 0b6a18b commit 6243bd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipettes/firmware/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ extern "C" void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin) {
GPIO_Pin ==
pins_for_sensor.secondary.value().tip_sense.value().pin) {
static_cast<void>(
sensor_queue_client.tip_notification_queue_front->try_write_isr(
if(sensor_queue_client.tip_notification_queue_front) sensor_queue_client.tip_notification_queue_front->try_write_isr(
sensors::tip_presence::TipStatusChangeDetected{}));
}
}
Expand Down

0 comments on commit 6243bd3

Please sign in to comment.