Skip to content

Commit 40e0ee2

Browse files
committed
paul run 2
Added climb rate bar and moved around text and changed highlighting of text
1 parent a7c5b4d commit 40e0ee2

File tree

3 files changed

+554
-141
lines changed

3 files changed

+554
-141
lines changed

inc/sp140/lvgl/lv_conf.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -168,14 +168,14 @@
168168
* Enable built-in fonts - only enable a minimal set
169169
*/
170170
#define LV_FONT_MONTSERRAT_8 0
171-
#define LV_FONT_MONTSERRAT_10 0
171+
#define LV_FONT_MONTSERRAT_10 1 /* For smaller kW unit label */
172172
#define LV_FONT_MONTSERRAT_12 1 /* For medium text, temperatures, and voltage labels */
173173
#define LV_FONT_MONTSERRAT_14 1 /* Used as default font */
174174
#define LV_FONT_MONTSERRAT_16 1 /* For battery percentage and power */
175175
#define LV_FONT_MONTSERRAT_18 0
176-
#define LV_FONT_MONTSERRAT_20 0
176+
#define LV_FONT_MONTSERRAT_20 1 /* For larger power display numbers */
177177
#define LV_FONT_MONTSERRAT_22 0
178-
#define LV_FONT_MONTSERRAT_24 1
178+
#define LV_FONT_MONTSERRAT_24 1 /* For larger power display numbers */
179179
#define LV_FONT_MONTSERRAT_26 0
180180
#define LV_FONT_MONTSERRAT_28 1
181181
#define LV_FONT_MONTSERRAT_30 0

inc/sp140/lvgl/lvgl_display.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ void updateLvglMainScreen(
5858
unsigned int armedStartMillis
5959
);
6060

61+
// Test function with simulated data for development/testing
62+
void updateLvglMainScreenWithTestData(const STR_DEVICE_DATA_140_V1& deviceData);
63+
6164
// Functions to control the loading overlay
6265
void showLoadingOverlay();
6366
void hideLoadingOverlay();

0 commit comments

Comments
 (0)