Skip to content

Commit

Permalink
trying to get techo working
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy committed Sep 3, 2024
1 parent a840bd4 commit 65a40ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ all: release

test:
@echo Running tests...
python -m tests.all
python3 -m tests.all

clean:
@echo Cleaning...
Expand Down
4 changes: 2 additions & 2 deletions RNS/Interfaces/RNodeInterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,13 +472,13 @@ def validateRadioState(self):
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):
Expand Down

0 comments on commit 65a40ae

Please sign in to comment.