summaryrefslogtreecommitdiff
path: root/protocol/adb.h
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2012-09-20 12:52:45 +0900
committertmk <nobody@nowhere>2012-09-20 12:52:45 +0900
commitd8ce19abd06ee9274cee883a379504eba9b470a5 (patch)
tree6f0bde40a973af6e0f899cc3a0e4fab6d2ba63c1 /protocol/adb.h
parentdd0017558e8c582760d9eb0adb2c12a04765b4c5 (diff)
To prevent key stuck clear matrix array when ADB error occurs.
Diffstat (limited to 'protocol/adb.h')
-rw-r--r--protocol/adb.h5
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);