Merge branch 'unit-system'

This commit is contained in:
Yurii
2024-04-06 17:38:24 +03:00
14 changed files with 604 additions and 159 deletions

View File

@@ -27,6 +27,7 @@ struct Settings {
bool debug = DEBUG_BY_DEFAULT;
bool useSerial = USE_SERIAL;
bool useTelnet = USE_TELNET;
UnitSystem unitSystem = UnitSystem::METRIC;
} system;
struct {
@@ -36,6 +37,7 @@ struct Settings {
} portal;
struct {
UnitSystem unitSystem = UnitSystem::METRIC;
byte inGpio = DEFAULT_OT_IN_GPIO;
byte outGpio = DEFAULT_OT_OUT_GPIO;
unsigned int memberIdCode = 0;