change hw_model_deprecated to intentionally break old apps

This commit is contained in:
Kevin Hester
2021-03-14 10:57:26 +08:00
parent d9fc7b32c3
commit 53671283ae
3 changed files with 5 additions and 5 deletions

View File

@@ -228,7 +228,7 @@ 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[0] = '\0';
myNodeInfo.hw_model_deprecated[0] = '\0';
// strncpy(myNodeInfo.hw_model, HW_VENDOR, sizeof(myNodeInfo.hw_model));
resetRadioConfig(); // If bogus settings got saved, then fix them