Skip to content

Commit

Permalink
Use real rf
Browse files Browse the repository at this point in the history
  • Loading branch information
UConnAIAA committed Sep 21, 2024
1 parent 1e53f7d commit 7efe943
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hardware/RF.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ RF::RF()
RFSent.open ("../logs/RFSent"+str+".txt");

// OPEN SERIAL PORT FOR HARDWARE
// SerialPort = fopen("/dev/ttyS0", "rw");
SerialPort = fopen("./virtual_rf.txt", "w+");
SerialPort = fopen("/dev/ttyS0", "rw");
// SerialPort = fopen("./virtual_rf.txt", "w+");
if (SerialPort < 0)
throw std::runtime_error("failed to open serial port");
}
Expand Down

0 comments on commit 7efe943

Please sign in to comment.