mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-04-04 04:15:32 -05:00
fix(studio): Allow setting UART RPC thread priority (#3290)
To ensure we can tune things when other threads may have priority, preventing UART processing in time for the studio UI requirements, adjust our default UART thread priority, and allow overriding as needed.
This commit is contained in:
@@ -65,7 +65,7 @@ static void uart_rx_main(void) {
|
||||
}
|
||||
|
||||
K_THREAD_DEFINE(uart_transport_read_thread, CONFIG_ZMK_STUDIO_TRANSPORT_UART_RX_STACK_SIZE,
|
||||
uart_rx_main, NULL, NULL, NULL, K_LOWEST_APPLICATION_THREAD_PRIO, 0, 0);
|
||||
uart_rx_main, NULL, NULL, NULL, CONFIG_ZMK_STUDIO_TRANSPORT_UART_RX_PRIORITY, 0, 0);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user