summaryrefslogtreecommitdiff
path: root/robot/sim.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-06-02 12:12:47 +0200
committerlonkaars <loek@pipeframe.xyz>2022-06-02 12:12:47 +0200
commitb12d6b2ecee0be03122a4bdba8ebbc91112fae3f (patch)
tree1bcc95eb0c26ffd1fbf23fab79f9ea80f26425b8 /robot/sim.c
parent139651d45a72d57c5147e2854647d95cb87c9e4e (diff)
dirc working
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 5956fbb..9cce12f 100644
--- a/robot/sim.c
+++ b/robot/sim.c
@@ -74,7 +74,7 @@ void serial_set_baud_rate(unsigned int rate) {
simprintfunc("serial_set_baud_rate", "%u", rate);
}
-void serial_send(char* message, unsigned int length) {
+void serial_send_blocking(char* message, unsigned int length) {
for (unsigned int byte = 0; byte < length; byte++)
putc(message[byte] & 0xff, stdout);
fflush(stdout);