higher priority for log buffer flush (#2592)

This commit is contained in:
Matthew Kennedy 2021-04-27 04:52:12 -07:00 committed by GitHub
parent acf839d2de
commit efe9dfa8d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -24,11 +24,11 @@
#define PRIO_STEPPER (NORMALPRIO + 5) #define PRIO_STEPPER (NORMALPRIO + 5)
#define PRIO_CJ125 (NORMALPRIO + 5) #define PRIO_CJ125 (NORMALPRIO + 5)
// Console thread // Logging buffer flush is *slightly* above PRIO_CONSOLE so that we don't starve logging buffers during initialization and console commands
#define PRIO_CONSOLE (NORMALPRIO + 3) #define PRIO_TEXT_LOG (NORMALPRIO + 2)
// Logging buffer flush is *slightly* above NORMALPRIO so that we don't starve logging buffers during initialization // Console thread
#define PRIO_TEXT_LOG (NORMALPRIO + 1) #define PRIO_CONSOLE (NORMALPRIO + 1)
// Less important things // Less important things
#define PRIO_MMC (NORMALPRIO - 1) #define PRIO_MMC (NORMALPRIO - 1)