added LightState Switch

This commit is contained in:
2024-05-20 17:44:56 +02:00
parent e995e1bd01
commit 25fb6d0a1e
8 changed files with 100 additions and 16 deletions

View File

@@ -348,8 +348,8 @@ void Error_Handler(void)
ULOG_ERROR("Error Handler");
osThreadId_t error_thread = osThreadGetId();
if(error_thread != NULL) {
const char * osThreadGetName(error_thread);
ULOG_ERROR("Error in thread: %s", osThreadGetName(error_thread));
const char * thread_name = osThreadGetName(error_thread);
ULOG_ERROR("Error in thread: %s", thread_name);
}
__disable_irq();
while (1)