UI: battery indicator, boot screen, radio settings

This commit is contained in:
Jacob Quatier
2025-04-20 17:40:58 -07:00
committed by JQ
parent 7b1582a0b9
commit c34dd2a40c
10 changed files with 195 additions and 70 deletions

View File

@@ -0,0 +1,22 @@
#ifndef NODE_PREFS_H
#define NODE_PREFS_H
#include <cstdint> // For uint8_t, uint32_t
struct NodePrefs { // persisted to file
float airtime_factor;
char node_name[32];
double node_lat, node_lon;
float freq;
uint8_t sf;
uint8_t cr;
uint8_t reserved1;
uint8_t manual_add_contacts;
float bw;
uint8_t tx_power_dbm;
uint8_t unused[3];
float rx_delay_base;
uint32_t ble_pin;
};
#endif // NODE_PREFS_H