diff options
author | Drashna Jaelre <drashna@live.com> | 2018-10-16 11:35:43 -0700 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-10-16 17:11:51 -0400 |
commit | 1dc1e12fec6b8ce06792ac2e2224b6466b4de2a3 (patch) | |
tree | 4374a2026488dbe619717bfcbba0ec96e3f6604f /quantum/api.h | |
parent | 6cf9402cbc8156dd7c0892822ba949a1a1d8a4ba (diff) | |
download | qmk_firmware-1dc1e12fec6b8ce06792ac2e2224b6466b4de2a3.tar.gz |
Only include lufa.h if AVR in quantum/api.h
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 @@ #ifndef _API_H_ #define _API_H_ +#ifdef __AVR__ #include "lufa.h" +#endif enum MESSAGE_TYPE { MT_GET_DATA = 0x10, // Get data from keyboard @@ -28,7 +30,7 @@ enum MESSAGE_TYPE { MT_SEND_DATA_ACK = 0x31, // returned data/action confirmation (ACK) MT_EXE_ACTION = 0x40, // executing actions on keyboard MT_EXE_ACTION_ACK =0x41, // return confirmation/value (ACK) - MT_TYPE_ERROR = 0x80 // type not recofgnised (ACK) + MT_TYPE_ERROR = 0x80 // type not recognised (ACK) }; enum DATA_TYPE { |