Skip to content

Commit

Permalink
transmit serial number in packets
Browse files Browse the repository at this point in the history
  • Loading branch information
pelikhan committed Oct 13, 2023
1 parent cfdf9c7 commit f410bda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion robot/robotdriver.ts
Original file line number Diff line number Diff line change
@@ -132,7 +132,7 @@ namespace microcode {
// const msg = robots.decodeRobotCommand(buf)
// this.dispatch(msg)
//})
radio.setTransmitSerialNumber(true)
radio.setTransmitSerialNumber(true);
radio.onReceivedNumber(code => {
const msg = robots.decodeRobotCompactCommand(code)
this.dispatch(msg)

0 comments on commit f410bda

Please sign in to comment.