diff options
author | Joel Challis <git@zvecr.com> | 2020-05-03 01:25:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-03 01:25:39 +0100 |
commit | 5f82b0782f90645eee5926691dcc0ec617d0dff4 (patch) | |
tree | a741b6b432d31c477d3781bde487b13ffb2b3d8a /tmk_core/protocol/ibm4704.c | |
parent | 2e6959ed874f19a5db9ee2b4db08c2bc9ec815d2 (diff) |
Initial vusb console support (#8559)
Diffstat (limited to 'tmk_core/protocol/ibm4704.c')
-rw-r--r-- | tmk_core/protocol/ibm4704.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tmk_core/protocol/ibm4704.c b/tmk_core/protocol/ibm4704.c index fd8fc4dbd5..a19443976e 100644 --- a/tmk_core/protocol/ibm4704.c +++ b/tmk_core/protocol/ibm4704.c @@ -161,7 +161,9 @@ ISR(IBM4704_INT_VECT) { case STOP: // Data:Low WAIT(data_lo, 100, state); - rbuf_enqueue(data); + if (!rbuf_enqueue(data)) { + print("rbuf: full\n"); + } ibm4704_error = IBM4704_ERR_NONE; goto DONE; break; |