]> git.friedersdorff.com Git - max/tmk_keyboard.git/blobdiff - tmk_core/protocol/ibmpc.h
ibmpc: Fix Timeout error
[max/tmk_keyboard.git] / tmk_core / protocol / ibmpc.h
index 5dcf2aa1a456436b516d43c3c658235a355c5295..9039b89b1199adbc38b483aa90394dedb0285398 100644 (file)
@@ -74,6 +74,7 @@ POSSIBILITY OF SUCH DAMAGE.
 #define IBMPC_PROTOCOL_AT       1
 #define IBMPC_PROTOCOL_XT_IBM   2
 #define IBMPC_PROTOCOL_XT_CLONE 3
+#define IBMPC_PROTOCOL_XT_ERROR 4
 
 // Error numbers
 #define IBMPC_ERR_NONE        0
@@ -82,13 +83,14 @@ POSSIBILITY OF SUCH DAMAGE.
 #define IBMPC_ERR_TIMEOUT     0x20
 #define IBMPC_ERR_FULL        0x40
 #define IBMPC_ERR_ILLEGAL     0x80
-#define IBMPC_ERR_FF          0xFF
+#define IBMPC_ERR_FF          0xF0
 
 #define IBMPC_LED_SCROLL_LOCK 0
 #define IBMPC_LED_NUM_LOCK    1
 #define IBMPC_LED_CAPS_LOCK   2
 
 
+extern volatile uint16_t ibmpc_isr_debug;
 extern volatile uint8_t ibmpc_protocol;
 extern volatile uint8_t ibmpc_error;