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) | |
| download | qmk_firmware-5f82b0782f90645eee5926691dcc0ec617d0dff4.tar.gz qmk_firmware-5f82b0782f90645eee5926691dcc0ec617d0dff4.zip | |
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 fd8fc4dbd..a19443976 100644 --- a/tmk_core/protocol/ibm4704.c +++ b/tmk_core/protocol/ibm4704.c | |||
| @@ -161,7 +161,9 @@ ISR(IBM4704_INT_VECT) { | |||
| 161 | case STOP: | 161 | case STOP: |
| 162 | // Data:Low | 162 | // Data:Low |
| 163 | WAIT(data_lo, 100, state); | 163 | WAIT(data_lo, 100, state); |
| 164 | rbuf_enqueue(data); | 164 | if (!rbuf_enqueue(data)) { |
| 165 | print("rbuf: full\n"); | ||
| 166 | } | ||
| 165 | ibm4704_error = IBM4704_ERR_NONE; | 167 | ibm4704_error = IBM4704_ERR_NONE; |
| 166 | goto DONE; | 168 | goto DONE; |
| 167 | break; | 169 | break; |
