aboutsummaryrefslogtreecommitdiff
path: root/protocol/adb.h
diff options
context:
space:
mode:
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 177f41394..1e4ca4013 100644
--- a/protocol/adb.h
+++ b/protocol/adb.h
@@ -38,6 +38,7 @@ POSSIBILITY OF SUCH DAMAGE.
38#ifndef ADB_H 38#ifndef ADB_H
39#define ADB_H 39#define ADB_H
40 40
41#include <stdint.h>
41#include <stdbool.h> 42#include <stdbool.h>
42 43
43#if !(defined(ADB_PORT) && \ 44#if !(defined(ADB_PORT) && \
@@ -47,6 +48,10 @@ POSSIBILITY OF SUCH DAMAGE.
47# error "ADB port setting is required in config.h" 48# error "ADB port setting is required in config.h"
48#endif 49#endif
49 50
51#define ADB_POWER 0x7F
52#define ADB_CAPS 0x39
53
54
50// ADB host 55// ADB host
51void adb_host_init(void); 56void adb_host_init(void);
52bool adb_host_psw(void); 57bool adb_host_psw(void);