aboutsummaryrefslogtreecommitdiff
path: root/protocol/adb.c
diff options
context:
space:
mode:
Diffstat (limited to 'protocol/adb.c')
-rw-r--r--protocol/adb.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocol/adb.c b/protocol/adb.c
index 2baad3234..e4e26b7d7 100644
--- a/protocol/adb.c
+++ b/protocol/adb.c
@@ -40,6 +40,7 @@ POSSIBILITY OF SUCH DAMAGE.
40#include <avr/io.h> 40#include <avr/io.h>
41#include <avr/interrupt.h> 41#include <avr/interrupt.h>
42#include "adb.h" 42#include "adb.h"
43#include "debug.h"
43 44
44 45
45static inline void data_lo(void); 46static inline void data_lo(void);
@@ -93,6 +94,7 @@ uint16_t adb_host_kbd_recv(void)
93 } 94 }
94 if (!read_bit()) { // Startbit(1) 95 if (!read_bit()) { // Startbit(1)
95 // Service Request 96 // Service Request
97 dprintf("Startbit ERROR\n");
96 return -2; 98 return -2;
97 } 99 }
98 100
@@ -104,6 +106,7 @@ uint16_t adb_host_kbd_recv(void)
104 sei(); 106 sei();
105 107
106 if (stop) { 108 if (stop) {
109 dprintf("Stopbit ERROR\n");
107 return -3; 110 return -3;
108 } 111 }
109 return data; 112 return data;