From 6243bd3ad312f907ed1152b0a0e3a7a32c8237d9 Mon Sep 17 00:00:00 2001 From: Caila Marashaj <98041399+caila-marashaj@users.noreply.github.com> Date: Mon, 14 Aug 2023 14:39:23 -0400 Subject: [PATCH] Update pipettes/firmware/main.cpp Co-authored-by: Seth Foster --- pipettes/firmware/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipettes/firmware/main.cpp b/pipettes/firmware/main.cpp index e115c8dcc..b58730511 100644 --- a/pipettes/firmware/main.cpp +++ b/pipettes/firmware/main.cpp @@ -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( - 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{})); } }