diff options
Diffstat (limited to 'quantum/api.h')
-rw-r--r-- | quantum/api.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/quantum/api.h b/quantum/api.h index efc0ddca1..fc016391b 100644 --- a/quantum/api.h +++ b/quantum/api.h | |||
@@ -17,7 +17,9 @@ | |||
17 | #ifndef _API_H_ | 17 | #ifndef _API_H_ |
18 | #define _API_H_ | 18 | #define _API_H_ |
19 | 19 | ||
20 | #ifdef __AVR__ | ||
20 | #include "lufa.h" | 21 | #include "lufa.h" |
22 | #endif | ||
21 | 23 | ||
22 | enum MESSAGE_TYPE { | 24 | enum MESSAGE_TYPE { |
23 | MT_GET_DATA = 0x10, // Get data from keyboard | 25 | MT_GET_DATA = 0x10, // Get data from keyboard |
@@ -28,7 +30,7 @@ enum MESSAGE_TYPE { | |||
28 | MT_SEND_DATA_ACK = 0x31, // returned data/action confirmation (ACK) | 30 | MT_SEND_DATA_ACK = 0x31, // returned data/action confirmation (ACK) |
29 | MT_EXE_ACTION = 0x40, // executing actions on keyboard | 31 | MT_EXE_ACTION = 0x40, // executing actions on keyboard |
30 | MT_EXE_ACTION_ACK =0x41, // return confirmation/value (ACK) | 32 | MT_EXE_ACTION_ACK =0x41, // return confirmation/value (ACK) |
31 | MT_TYPE_ERROR = 0x80 // type not recofgnised (ACK) | 33 | MT_TYPE_ERROR = 0x80 // type not recognised (ACK) |
32 | }; | 34 | }; |
33 | 35 | ||
34 | enum DATA_TYPE { | 36 | enum DATA_TYPE { |