aboutsummaryrefslogtreecommitdiff
path: root/robot/sercomm.c
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-05-24 21:04:12 +0200
committerlonkaars <loek@pipeframe.xyz>2022-05-24 21:04:12 +0200
commit7e3ece64cd5138081263413461dc6856a668bfae (patch)
treebb380a2023b3fc3abd4e6255e262ee9931731597 /robot/sercomm.c
parent92c394b44cc846ba044c2862b4f08eadc2160805 (diff)
sim reading serial in from stdin working
Diffstat (limited to 'robot/sercomm.c')
-rw-r--r--robot/sercomm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/robot/sercomm.c b/robot/sercomm.c
index d7dc7f1..2faaa27 100644
--- a/robot/sercomm.c
+++ b/robot/sercomm.c
@@ -12,6 +12,7 @@ uint8_t g_w2_sercomm_buffer_full = 0;
char g_w2_serial_buffer[W2_SERIAL_READ_BUFFER_SIZE] = {0};
uint8_t g_w2_serial_buffer_index = 0;
+uint8_t g_w2_serial_buffer_head = 0;
void w2_sercomm_main() {
#ifdef W2_SIM