aboutsummaryrefslogtreecommitdiff
path: root/robot/sim.c
diff options
context:
space:
mode:
Diffstat (limited to 'robot/sim.c')
-rw-r--r--robot/sim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/robot/sim.c b/robot/sim.c
index 6bd5838..1e88feb 100644
--- a/robot/sim.c
+++ b/robot/sim.c
@@ -55,7 +55,7 @@ void serial_send(char* message, unsigned int length) {
printf("\n");
simprintf("");
}
- printf("%02x ", message[byte]);
+ printf("%02x ", message[byte] & 0xff);
bytes++;
}
printf("\n");