summaryrefslogtreecommitdiff
path: root/robot/sim.c
diff options
context:
space:
mode:
Diffstat (limited to 'robot/sim.c')
-rw-r--r--robot/sim.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/robot/sim.c b/robot/sim.c
index 1e88feb..554b174 100644
--- a/robot/sim.c
+++ b/robot/sim.c
@@ -1,6 +1,7 @@
#include <stdio.h>
#include <time.h>
#include <string.h>
+#include <stdint.h>
#include "sim.h"
@@ -62,3 +63,13 @@ void serial_send(char* message, unsigned int length) {
return;
}
+void serial_receive_ring(char* buffer, unsigned char size) {
+ simprintfunc("serial_receive_ring", "0x%016lx, %u", (unsigned long) buffer, size);
+ return;
+}
+
+unsigned char serial_get_received_bytes() {
+ simprintfunc("serial_get_received_bytes", "");
+ return 0;
+}
+