diff options
| author | Priyadi Iman Nurcahyo <priyadi@priyadi.net> | 2017-02-01 19:37:52 +0700 |
|---|---|---|
| committer | Priyadi Iman Nurcahyo <priyadi@priyadi.net> | 2017-02-01 19:37:52 +0700 |
| commit | 2bef8b5b88547ce28fb056559b058e35109278b3 (patch) | |
| tree | 104a08c011ead3e832af22c9e5cc61967c63003c /quantum/quantum.c | |
| parent | 72e95809a1d3da869942441a2ad7107c7a55d688 (diff) | |
| download | qmk_firmware-2bef8b5b88547ce28fb056559b058e35109278b3.tar.gz qmk_firmware-2bef8b5b88547ce28fb056559b058e35109278b3.zip | |
Limit outputselect to AVR only for now
Diffstat (limited to 'quantum/quantum.c')
| -rw-r--r-- | quantum/quantum.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c index 1d1a691e2..585692d4a 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | #include "quantum.h" | 1 | #include "quantum.h" |
| 2 | #if defined(__AVR__) | ||
| 2 | #include "outputselect.h" | 3 | #include "outputselect.h" |
| 4 | #endif | ||
| 3 | 5 | ||
| 4 | #ifndef TAPPING_TERM | 6 | #ifndef TAPPING_TERM |
| 5 | #define TAPPING_TERM 200 | 7 | #define TAPPING_TERM 200 |
| @@ -213,6 +215,7 @@ bool process_record_quantum(keyrecord_t *record) { | |||
| 213 | return false; | 215 | return false; |
| 214 | break; | 216 | break; |
| 215 | #endif | 217 | #endif |
| 218 | #if defined(__AVR__) | ||
| 216 | case OUT_AUTO: | 219 | case OUT_AUTO: |
| 217 | if (record->event.pressed) { | 220 | if (record->event.pressed) { |
| 218 | set_output(OUTPUT_AUTO); | 221 | set_output(OUTPUT_AUTO); |
| @@ -241,6 +244,7 @@ bool process_record_quantum(keyrecord_t *record) { | |||
| 241 | return false; | 244 | return false; |
| 242 | break; | 245 | break; |
| 243 | #endif | 246 | #endif |
| 247 | #endif | ||
| 244 | case MAGIC_SWAP_CONTROL_CAPSLOCK ... MAGIC_TOGGLE_NKRO: | 248 | case MAGIC_SWAP_CONTROL_CAPSLOCK ... MAGIC_TOGGLE_NKRO: |
| 245 | if (record->event.pressed) { | 249 | if (record->event.pressed) { |
| 246 | // MAGIC actions (BOOTMAGIC without the boot) | 250 | // MAGIC actions (BOOTMAGIC without the boot) |
