mirror of
https://github.com/ratspeak/ratdeck.git
synced 2026-08-16 07:40:23 +00:00
TCP scaling, GUI pooling, dev mode, protocol improvements
- TCP: wider drain budgets, TCP_NODELAY, no flush, PSRAM buffers, queue announces until hub ID - GUI: object pool Messages/Contacts screens, partial MessageView status, targeted tab refresh - LVGL throttled to 5fps when dimmed, non-blocking RSSI monitor, bounded I2S writes - LXMF batch drain, BLE frame mutex, LoRa interrupt-driven RX, name cache cap 300 - Developer mode in settings: custom radio params (freq/txp/SF/BW/CR/preamble) behind warning
This commit is contained in:
+3
-3
@@ -33,8 +33,8 @@ void Display::beginLVGL() {
|
||||
|
||||
lv_init();
|
||||
|
||||
// Allocate double-buffered 10-line strips in PSRAM
|
||||
const uint32_t bufSize = 320 * 10;
|
||||
// Allocate double-buffered 20-line strips in PSRAM (halves DMA flush ops per redraw)
|
||||
const uint32_t bufSize = 320 * 20;
|
||||
s_buf1 = (lv_color_t*)heap_caps_malloc(bufSize * sizeof(lv_color_t), MALLOC_CAP_DMA | MALLOC_CAP_8BIT);
|
||||
s_buf2 = (lv_color_t*)heap_caps_malloc(bufSize * sizeof(lv_color_t), MALLOC_CAP_DMA | MALLOC_CAP_8BIT);
|
||||
|
||||
@@ -58,7 +58,7 @@ void Display::beginLVGL() {
|
||||
disp_drv.draw_buf = &draw_buf;
|
||||
lv_disp_drv_register(&disp_drv);
|
||||
|
||||
Serial.println("[LVGL] Display driver registered (320x240, double-buffered 10-line DMA)");
|
||||
Serial.println("[LVGL] Display driver registered (320x240, double-buffered 20-line DMA)");
|
||||
}
|
||||
|
||||
void Display::setBrightness(uint8_t level) {
|
||||
|
||||
Reference in New Issue
Block a user