added LightState Switch
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user