diff options
| author | zvecr <git@zvecr.com> | 2020-05-02 22:44:36 +0100 |
|---|---|---|
| committer | zvecr <git@zvecr.com> | 2020-05-02 22:44:36 +0100 |
| commit | 406dc2fb2d1e657db2d7235885722dd86d07ea08 (patch) | |
| tree | 3f58907a434ef2cb5ce129489a6212d936eae75d /quantum/quantum.c | |
| parent | e182a38e7c63179f11c94cd7d59f9bac829b85a8 (diff) | |
| download | qmk_firmware-406dc2fb2d1e657db2d7235885722dd86d07ea08.tar.gz qmk_firmware-406dc2fb2d1e657db2d7235885722dd86d07ea08.zip | |
Move encoder_read to common location
Diffstat (limited to 'quantum/quantum.c')
| -rw-r--r-- | quantum/quantum.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/quantum/quantum.c b/quantum/quantum.c index 2053a1a5f..a780ed43d 100644 --- a/quantum/quantum.c +++ b/quantum/quantum.c | |||
| @@ -46,10 +46,6 @@ extern backlight_config_t backlight_config; | |||
| 46 | # include "haptic.h" | 46 | # include "haptic.h" |
| 47 | #endif | 47 | #endif |
| 48 | 48 | ||
| 49 | #ifdef ENCODER_ENABLE | ||
| 50 | # include "encoder.h" | ||
| 51 | #endif | ||
| 52 | |||
| 53 | #ifdef AUDIO_ENABLE | 49 | #ifdef AUDIO_ENABLE |
| 54 | # ifndef GOODBYE_SONG | 50 | # ifndef GOODBYE_SONG |
| 55 | # define GOODBYE_SONG SONG(GOODBYE_SOUND) | 51 | # define GOODBYE_SONG SONG(GOODBYE_SOUND) |
| @@ -618,9 +614,6 @@ void matrix_init_quantum() { | |||
| 618 | #ifdef RGB_MATRIX_ENABLE | 614 | #ifdef RGB_MATRIX_ENABLE |
| 619 | rgb_matrix_init(); | 615 | rgb_matrix_init(); |
| 620 | #endif | 616 | #endif |
| 621 | #ifdef ENCODER_ENABLE | ||
| 622 | encoder_init(); | ||
| 623 | #endif | ||
| 624 | #if defined(UNICODE_ENABLE) || defined(UNICODEMAP_ENABLE) || defined(UCIS_ENABLE) | 617 | #if defined(UNICODE_ENABLE) || defined(UNICODEMAP_ENABLE) || defined(UCIS_ENABLE) |
| 625 | unicode_input_mode_init(); | 618 | unicode_input_mode_init(); |
| 626 | #endif | 619 | #endif |
| @@ -658,10 +651,6 @@ void matrix_scan_quantum() { | |||
| 658 | rgb_matrix_task(); | 651 | rgb_matrix_task(); |
| 659 | #endif | 652 | #endif |
| 660 | 653 | ||
| 661 | #ifdef ENCODER_ENABLE | ||
| 662 | encoder_read(); | ||
| 663 | #endif | ||
| 664 | |||
| 665 | #ifdef WPM_ENABLE | 654 | #ifdef WPM_ENABLE |
| 666 | decay_wpm(); | 655 | decay_wpm(); |
| 667 | #endif | 656 | #endif |
