Port upstream rendering optimizations and MemAvailable fix#3
Closed
cafedomingo wants to merge 4 commits intomainfrom
Closed
Port upstream rendering optimizations and MemAvailable fix#3cafedomingo wants to merge 4 commits intomainfrom
cafedomingo wants to merge 4 commits intomainfrom
Conversation
Read cached DietPi update data from /run/dietpi/ to show two indicators in the upper-right header area: - Green/red dot (hostname row): DietPi core update status - ^N count (IP row): APT upgradable package count, yellow <10, red >=10 No new scripts or timers — reads files DietPi already maintains. On non-DietPi systems, badges are hidden (files don't exist). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Buffer character pixels in memory and use burst transfer instead of pushing one pixel at a time. Remove redundant SYNC_REG call from lcd_write_string. Fix off-by-one clipping in lcd_fill_rectangle and wrong dimension calculation in lcd_draw_image. Adapted from UCTRONICS#27 Co-authored-by: slyglif <10196904+slyglif@users.noreply.github.com>
MemAvailable includes reclaimable cache and buffers, giving a more accurate picture of actually available memory. Adapted from UCTRONICS#17 Co-authored-by: mobejm <4407468+mobejm@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
lcd_fill_rectangle, fix wrong dimension calc inlcd_draw_imageMemAvailableinstead ofMemFreefor RAM reporting — includes reclaimable cache/buffers for accurate available memoryTest plan
make clean && makebuilds without warnings🤖 Generated with Claude Code