diff options
author | lonkaars <loek@pipeframe.xyz> | 2022-05-24 21:04:12 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2022-05-24 21:04:12 +0200 |
commit | 7e3ece64cd5138081263413461dc6856a668bfae (patch) | |
tree | bb380a2023b3fc3abd4e6255e262ee9931731597 /robot/sercomm.h | |
parent | 92c394b44cc846ba044c2862b4f08eadc2160805 (diff) |
sim reading serial in from stdin working
Diffstat (limited to 'robot/sercomm.h')
-rw-r--r-- | robot/sercomm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/robot/sercomm.h b/robot/sercomm.h index f411374..bc9fc1e 100644 --- a/robot/sercomm.h +++ b/robot/sercomm.h @@ -48,6 +48,8 @@ extern uint8_t g_w2_sercomm_offset; extern char g_w2_serial_buffer[W2_SERIAL_READ_BUFFER_SIZE]; /** serial input (receive) buffer current position */ extern uint8_t g_w2_serial_buffer_index; +/** serial input (receive) buffer head (sim only) */ +extern uint8_t g_w2_serial_buffer_head; /** * serial pc-robot communication module |