aboutsummaryrefslogtreecommitdiff
path: root/tmk_core/protocol/ibm4704.c
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/protocol/ibm4704.c')
-rw-r--r--tmk_core/protocol/ibm4704.c4
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;