1
mirror of https://github.com/DarkFlippers/unleashed-firmware.git synced 2025-12-12 12:42:30 +04:00

Improve responsiveness in heavy games at the expense of dropped frames

This commit is contained in:
Georgii Surkov
2024-02-07 11:43:28 +03:00
parent 4625d6f17c
commit fee6f12684

View File

@@ -372,6 +372,9 @@ ExpansionWorker* expansion_worker_alloc(FuriHalSerialId serial_id) {
instance->rx_buf = furi_stream_buffer_alloc(EXPANSION_WORKER_BUFFER_SIZE, 1); instance->rx_buf = furi_stream_buffer_alloc(EXPANSION_WORKER_BUFFER_SIZE, 1);
instance->serial_id = serial_id; instance->serial_id = serial_id;
// Improves responsiveness in heavy games at the expense of dropped frames
furi_thread_set_priority(instance->thread, FuriThreadPriorityLow);
return instance; return instance;
} }