move criticalerror defs into .proto for cross platform support

This commit is contained in:
Kevin Hester committed 2020-12-27 11:22:08 +08:00
1 parent 15833e1e53
commit 0c74303e9d
11 files changed
+101 -63

No files matched your search

+1 -1
View File
@@ -271,7 +271,7 @@ void NodeDB::init()
myNodeInfo.node_num_bits = sizeof(NodeNum) * 8;
myNodeInfo.packet_id_bits = sizeof(PacketId) * 8;
myNodeInfo.error_code = NoError; // For the error code, only show values from this boot (discard value from flash)
myNodeInfo.error_code = CriticalErrorCode_None; // For the error code, only show values from this boot (discard value from flash)
myNodeInfo.error_address = 0;
// likewise - we always want the app requirements to come from the running appload