Skip to content

Commit 347e2f4

Browse files
handling if unknown / wrong event sent
1 parent 56b90e0 commit 347e2f4

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed
-99 Bytes
Binary file not shown.
-99 Bytes
Binary file not shown.

services/thermal_mgr/thermal_mgr.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ static void thermalMgr(void *pvParameters) {
106106
LOG_ERROR_CODE(err);
107107
};
108108
}
109+
else
110+
{
111+
LOG_ERROR_CODE(ERR_CODE_INVALID_ARG);
112+
}
109113
}
110114
}
111115
}

0 commit comments

Comments
 (0)