Update RNodeInterface.py

reverts extra debugging message detail
This commit is contained in:
jeremybox 2024-09-03 17:14:07 -04:00 committed by GitHub
parent 625db2622d
commit 5166596375
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -472,13 +472,13 @@ class RNodeInterface(Interface):
RNS.log("Bandwidth mismatch", RNS.LOG_ERROR) RNS.log("Bandwidth mismatch", RNS.LOG_ERROR)
self.validcfg = False self.validcfg = False
if (self.txpower != self.r_txpower): if (self.txpower != self.r_txpower):
RNS.log("TX power mismatch: " + str(self.txpower) + " vs " + str(self.r_txpower), RNS.LOG_ERROR) RNS.log("TX power mismatch", RNS.LOG_ERROR)
self.validcfg = False self.validcfg = False
if (self.sf != self.r_sf): if (self.sf != self.r_sf):
RNS.log("Spreading factor mismatch", RNS.LOG_ERROR) RNS.log("Spreading factor mismatch", RNS.LOG_ERROR)
self.validcfg = False self.validcfg = False
if (self.state != self.r_state): if (self.state != self.r_state):
RNS.log("Radio state mismatch: " + str(self.state) + " vs " + str(self.r_state), RNS.LOG_ERROR) RNS.log("Radio state mismatch", RNS.LOG_ERROR)
self.validcfg = False self.validcfg = False
if (self.validcfg): if (self.validcfg):