diff options
author | tmk <nobody@nowhere> | 2012-09-20 12:52:45 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2012-09-20 12:52:45 +0900 |
commit | d8ce19abd06ee9274cee883a379504eba9b470a5 (patch) | |
tree | 6f0bde40a973af6e0f899cc3a0e4fab6d2ba63c1 /protocol | |
parent | dd0017558e8c582760d9eb0adb2c12a04765b4c5 (diff) |
To prevent key stuck clear matrix array when ADB error occurs.
Diffstat (limited to 'protocol')
-rw-r--r-- | protocol/adb.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 <stdint.h> #include <stdbool.h> #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); |