mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-11-02 19:02:00 +00:00
feat(l2,core): battery curve editor and an L2 feedback round
- Battery curve: NodePrefs batt_curve_mv[11] (voltage at 0..100 %, all zeros = built-in LiPo curve, sentinel 0xC0DE0032). ui-core/Battery.h uses it for every percentage. L1: Settings > System > Batt curve list (Left/Right 10 mV, Reset); L2: Settings > Power > Battery curve chart with draggable points and a line at the cell's voltage. - L2: the Nodes map is the full navigation map plus the nodes, Back returns to Nodes; the favourite button is lit while it is one; pinning to the Home dial uses a thumbtack (fonts regenerated); minimap dots follow the accent; arranging tiles shows where they land while dragging; emoji row in Diagnostics > Font. - Sim hooks: sim_open nodesmap / accent@N / homeedit / battcurve. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -94,7 +94,7 @@ void UITask::channelMenu(int idx) {
|
||||
struct { const char* text; uint8_t act; } btns[] = {
|
||||
{ UI_SYMBOL_STAR " Fav", A_FAV },
|
||||
{ LV_SYMBOL_OK " Read", A_READ },
|
||||
{ UI_SYMBOL_PIN, A_PIN },
|
||||
{ UI_SYMBOL_TACK, A_PIN },
|
||||
{ LV_SYMBOL_EDIT " Edit", A_EDIT },
|
||||
{ LV_SYMBOL_TRASH, A_DELETE },
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user