trying to get techo working

This commit is contained in:
jeremy 2024-09-03 01:57:07 -04:00
parent a840bd4aaf
commit 65a40aefb6
2 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ all: release
test:
@echo Running tests...
python -m tests.all
python3 -m tests.all
clean:
@echo Cleaning...

View File

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