mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-03-30 12:45:45 +00:00
Remove default setting, since it is handled in MyMesh
This commit is contained in:
@@ -200,11 +200,6 @@ void DataStore::loadPrefsInt(const char *filename, NodePrefs& _prefs, double& no
|
||||
File file = openRead(_fs, filename);
|
||||
if (file) {
|
||||
uint8_t pad[8];
|
||||
|
||||
// Initialize defaults for any missing fields (backward compatibility)
|
||||
memset(&_prefs, 0, sizeof(_prefs));
|
||||
node_lat = 0.0;
|
||||
node_lon = 0.0;
|
||||
|
||||
file.read((uint8_t *)&_prefs.airtime_factor, sizeof(float)); // 0
|
||||
file.read((uint8_t *)_prefs.node_name, sizeof(_prefs.node_name)); // 4
|
||||
|
||||
Reference in New Issue
Block a user