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
No known key found for this signature in database
GPG key ID: 44A24455F6ADB5E7

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->serial_id = serial_id;
// Improves responsiveness in heavy games at the expense of dropped frames
furi_thread_set_priority(instance->thread, FuriThreadPriorityLow);
return instance;
}