Remove hw_model_deprecated

This commit is contained in:
Jm Casler
2022-02-14 20:37:44 -08:00
parent eae8720068
commit 1ba7f009dd
3 changed files with 5 additions and 12 deletions

View File

@@ -229,10 +229,6 @@ void NodeDB::init()
strncpy(myNodeInfo.firmware_version, optstr(APP_VERSION), sizeof(myNodeInfo.firmware_version));
// hw_model is no longer stored in myNodeInfo (as of 1.2.11) - we now store it as an enum in nodeinfo
myNodeInfo.hw_model_deprecated[0] = '\0';
// strncpy(myNodeInfo.hw_model, HW_VENDOR, sizeof(myNodeInfo.hw_model));
#ifndef NO_ESP32
Preferences preferences;
preferences.begin("meshtastic", false);