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 6243bd3 commit 36124c2
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 @@ -143,7 +143,7 @@ static auto tail_accessor =
extern "C" void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin) {
if (GPIO_Pin == tip_sense_gpio_primary.pin) {
static_cast<void>(
sensor_queue_client.tip_notification_queue_rear->try_write_isr(
if(sensor_queue_client.tip_notification_queue_rear) sensor_queue_client.tip_notification_queue_rear->try_write_isr(
sensors::tip_presence::TipStatusChangeDetected{}));
} else if (ok_for_secondary &&
GPIO_Pin ==
Expand Down

0 comments on commit 36124c2

Please sign in to comment.