Skip to content

Commit 56b90e0

Browse files
isr safe, removed logging from telemetry after attempt, removed extra logging file that cmake made
1 parent f6f220c commit 56b90e0

File tree

5 files changed

+2
-12
lines changed

5 files changed

+2
-12
lines changed

Testing/Temporary/CTestCostData.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

Testing/Temporary/LastTest.log

Lines changed: 0 additions & 3 deletions
This file was deleted.
99 Bytes
Binary file not shown.
99 Bytes
Binary file not shown.

services/thermal_mgr/thermal_mgr.c

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -64,17 +64,12 @@ void osHandlerLM75BD(void) {
6464
/* Implement this function */
6565
thermal_mgr_event_t event;
6666
event.type = THERMAL_MGR_EVENT_OS;
67-
error_code_t errCode;
68-
LOG_IF_ERROR_CODE(thermalMgrSendEvent(&event));
67+
thermalMgrSendEvent(&event);
6968
}
7069

7170
static void thermalMgr(void *pvParameters) {
7271
/* Implement this task */
73-
if (pvParameters == NULL)
74-
{
75-
LOG_ERROR_CODE(ERR_CODE_INVALID_ARG);
76-
}
77-
else if (thermalMgrQueueHandle != NULL){
72+
if (thermalMgrQueueHandle != NULL){
7873
lm75bd_config_t* config = (lm75bd_config_t *) pvParameters;
7974

8075
while (1){
@@ -106,7 +101,6 @@ static void thermalMgr(void *pvParameters) {
106101
{
107102
overTemperatureDetected();
108103
}
109-
addTemperatureTelemetry(tempC);
110104
} else
111105
{
112106
LOG_ERROR_CODE(err);

0 commit comments

Comments
 (0)