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) {
|
static msg_t canThread(void *arg) {
|
||||||
|
(void)arg;
|
||||||
chRegSetThreadName("CAN");
|
chRegSetThreadName("CAN");
|
||||||
while (true) {
|
while (true) {
|
||||||
if (engineConfiguration->canWriteEnabled)
|
if (engineConfiguration->canWriteEnabled)
|
||||||
|
|
|
@ -232,6 +232,7 @@ void runRusEfi(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void chDbgStackOverflowPanic(thread_t *otp) {
|
void chDbgStackOverflowPanic(thread_t *otp) {
|
||||||
|
(void)otp;
|
||||||
strcpy(panicMessage, "stack overflow: ");
|
strcpy(panicMessage, "stack overflow: ");
|
||||||
#if defined(CH_USE_REGISTRY) || defined(__DOXYGEN__)
|
#if defined(CH_USE_REGISTRY) || defined(__DOXYGEN__)
|
||||||
int p_name_len = strlen(otp->p_name);
|
int p_name_len = strlen(otp->p_name);
|
||||||
|
|
Loading…
Reference in New Issue