]> git.friedersdorff.com Git - max/tmk_keyboard.git/blobdiff - tmk_core/protocol/ibmpc.h
ibmpc: Fix XT reset comment and add inhibit_xt()
[max/tmk_keyboard.git] / tmk_core / protocol / ibmpc.h
index 4f682aa7214fddbb08e72a82790946b031f2c4b2..64bc2c8ad428040842d98a9a96e249a24b2c8bf0 100644 (file)
@@ -188,11 +188,17 @@ static inline void idle(void)
     data_hi();
 }
 
-/* inhibit device to send */
+/* inhibit device to send(AT), soft reset(XT) */
 static inline void inhibit(void)
 {
     clock_lo();
     data_hi();
 }
 
+/* inhibit device to send(XT) */
+static inline void inhibit_xt(void)
+{
+    clock_hi();
+    data_lo();
+}
 #endif