fine, taking care of more warnings

This commit is contained in:
rusefi 2019-11-06 19:53:09 -05:00
parent 6f9ed5205d
commit ae0456e5fb
2 changed files with 4 additions and 0 deletions

View File

@ -111,6 +111,7 @@ static void sayHello(void) {
chThdSleepMilliseconds(5);
}
#if CH_DBG_THREADS_PROFILING && CH_DBG_FILL_THREADS
static uintptr_t CountFreeStackSpace(const void* wabase)
{
const uint8_t* stackBase = reinterpret_cast<const uint8_t*>(wabase);
@ -124,6 +125,7 @@ static uintptr_t CountFreeStackSpace(const void* wabase)
return stackUsage - stackBase;
}
#endif
/**
* This methods prints all threads, their stack usage, and their total times

View File

@ -161,6 +161,7 @@ static const char* idleModeStr[] = { "I:A", "I:M" };
// }
//}
#if 0
static char * prepareInfoLine(engine_configuration_s *engineConfiguration, char *buffer) {
char *ptr = buffer;
@ -176,6 +177,7 @@ static char * prepareInfoLine(engine_configuration_s *engineConfiguration, char
ptr = appendStr(ptr, " ");
return ptr;
}
#endif
//static char * prepareStatusLine(char *buffer) {
// char *ptr = buffer;