mirror of
https://github.com/meshtastic/firmware.git
synced 2025-10-27 15:02:41 +00:00
Update NodeDB.cpp
This commit is contained in:
parent
2b2a6ff454
commit
75a0b83122
@ -718,6 +718,12 @@ void NodeDB::installDefaultConfig(bool preserveKey = false)
|
|||||||
strncpy(config.network.wifi_psk, USERPREFS_NETWORK_WIFI_PSK, sizeof(config.network.wifi_psk));
|
strncpy(config.network.wifi_psk, USERPREFS_NETWORK_WIFI_PSK, sizeof(config.network.wifi_psk));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(USERPREFS_NETWORK_IPV6_ENABLED)
|
||||||
|
config.network.ipv6_enabled = USERPREFS_NETWORK_IPV6_ENABLED;
|
||||||
|
#else
|
||||||
|
config.network.ipv6_enabled = default_network_ipv6_enabled;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef DISPLAY_FLIP_SCREEN
|
#ifdef DISPLAY_FLIP_SCREEN
|
||||||
config.display.flip_screen = true;
|
config.display.flip_screen = true;
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user