Skip to content

Commit

Permalink
logging central: do not post from mutex-locked section
Browse files Browse the repository at this point in the history
  • Loading branch information
dron0gus authored and rusefillc committed Dec 17, 2024
1 parent f053d10 commit c85edac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions firmware/util/loggingcentral.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,10 @@ class LoggingBufferFlusher : public ThreadController<256> {

// Write the line out to the output buffer
writeBuffer->writeLine(line);

// Return this line buffer to the free list
freeBuffers.post(line, TIME_INFINITE);
}

// Return this line buffer to the free list
freeBuffers.post(line, TIME_INFINITE);
}
}
};
Expand Down

0 comments on commit c85edac

Please sign in to comment.