From d8ce19abd06ee9274cee883a379504eba9b470a5 Mon Sep 17 00:00:00 2001 From: tmk Date: Thu, 20 Sep 2012 12:52:45 +0900 Subject: To prevent key stuck clear matrix array when ADB error occurs. --- protocol/adb.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'protocol/adb.h') diff --git a/protocol/adb.h b/protocol/adb.h index 177f413944..1e4ca40132 100644 --- a/protocol/adb.h +++ b/protocol/adb.h @@ -38,6 +38,7 @@ POSSIBILITY OF SUCH DAMAGE. #ifndef ADB_H #define ADB_H +#include #include #if !(defined(ADB_PORT) && \ @@ -47,6 +48,10 @@ POSSIBILITY OF SUCH DAMAGE. # error "ADB port setting is required in config.h" #endif +#define ADB_POWER 0x7F +#define ADB_CAPS 0x39 + + // ADB host void adb_host_init(void); bool adb_host_psw(void); -- cgit v1.2.3