removed opus restructure comments

This commit is contained in:
Timo Niemann
2026-07-01 15:28:35 +02:00
parent b7d7665fde
commit f428bef893
3 changed files with 0 additions and 18 deletions
-3
View File
@@ -21,8 +21,6 @@ static size_t ui_log_buffer_index(size_t line_offset){
return (log_line_start + line_offset) % UI_LOG_MAX_LINES;
}
// Stores text in the ring buffer, sets *out_evicted when the oldest line had to
// be dropped, and returns the stored (possibly truncated) line.
static const char *ui_log_store_line(const char *text, bool *out_evicted){
size_t line_index;
bool evicted = false;
@@ -65,7 +63,6 @@ void ui_log_append(const char *text){
if(log_textarea == NULL) return;
lvgl_port_lock(0);
// Appending a line is O(1); only a dropped oldest line forces a full rebuild.
if(evicted) ui_log_render_all_locked();
else ui_log_append_line_locked(stored_line);
lvgl_port_unlock();