From 2289c9f589660f535d2524b729f40a83139e1683 Mon Sep 17 00:00:00 2001 From: Ahmed Elsaigh Date: Mon, 4 Nov 2024 11:58:00 -0500 Subject: [PATCH] Resolve PR comment --- services/thermal_mgr/thermal_mgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/thermal_mgr/thermal_mgr.c b/services/thermal_mgr/thermal_mgr.c index 7c30d0d..47f05dc 100644 --- a/services/thermal_mgr/thermal_mgr.c +++ b/services/thermal_mgr/thermal_mgr.c @@ -45,7 +45,7 @@ void initThermalSystemManager(lm75bd_config_t *config) { error_code_t thermalMgrSendEvent(thermal_mgr_event_t *event) { /* Send an event to the thermal manager queue */ - if (thermalMgrQueueHandle == NULL || event == NULL) { + if (thermalMgrQueueHandle == NULL) { return ERR_CODE_INVALID_STATE; }