reducing warnings
This commit is contained in:
parent
c0a9e5a919
commit
6118be22a2
|
@ -224,6 +224,7 @@ static void writeStateToCan(void) {
|
|||
}
|
||||
|
||||
static msg_t canThread(void *arg) {
|
||||
(void)arg;
|
||||
chRegSetThreadName("CAN");
|
||||
while (true) {
|
||||
if (engineConfiguration->canWriteEnabled)
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue