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 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);