flash writer thread name by dron0gus

This commit is contained in:
Andrey 2021-06-21 09:00:15 -04:00
parent 239bfd8bb8
commit 607ece65c2
1 changed files with 2 additions and 0 deletions

View File

@ -48,6 +48,8 @@ chibios_rt::BinarySemaphore flashWriteSemaphore(/*taken =*/ true);
static THD_WORKING_AREA(flashWriteStack, UTILITY_THREAD_STACK_SIZE);
static void flashWriteThread(void*) {
chRegSetThreadName("flash writer");
while (true) {
// Wait for a request to come in
flashWriteSemaphore.wait();