reducing warnings

This commit is contained in:
rusefi 2017-04-12 11:28:23 -04:00
parent c0a9e5a919
commit 6118be22a2
2 changed files with 2 additions and 0 deletions

View File

@ -224,6 +224,7 @@ static void writeStateToCan(void) {
}
static msg_t canThread(void *arg) {
(void)arg;
chRegSetThreadName("CAN");
while (true) {
if (engineConfiguration->canWriteEnabled)

View File

@ -232,6 +232,7 @@ void runRusEfi(void) {
}
void chDbgStackOverflowPanic(thread_t *otp) {
(void)otp;
strcpy(panicMessage, "stack overflow: ");
#if defined(CH_USE_REGISTRY) || defined(__DOXYGEN__)
int p_name_len = strlen(otp->p_name);