From b12d6b2ecee0be03122a4bdba8ebbc91112fae3f Mon Sep 17 00:00:00 2001 From: lonkaars Date: Thu, 2 Jun 2022 12:12:47 +0200 Subject: dirc working --- robot/sim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'robot/sim.c') 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); -- cgit v1.2.3