diff options
Diffstat (limited to 'keyboards/ut47/matrix.c')
| -rw-r--r-- | keyboards/ut47/matrix.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/keyboards/ut47/matrix.c b/keyboards/ut47/matrix.c index 18d420dbb..921bc9ed5 100644 --- a/keyboards/ut47/matrix.c +++ b/keyboards/ut47/matrix.c | |||
| @@ -26,7 +26,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 26 | #include "debug.h" | 26 | #include "debug.h" |
| 27 | #include "util.h" | 27 | #include "util.h" |
| 28 | #include "matrix.h" | 28 | #include "matrix.h" |
| 29 | #include "protocol/serial.h" | 29 | #ifdef LED_ENABLE |
| 30 | #include "protocol/serial.h" | ||
| 31 | #endif | ||
| 30 | 32 | ||
| 31 | 33 | ||
| 32 | #ifndef DEBOUNCE | 34 | #ifndef DEBOUNCE |
| @@ -67,8 +69,10 @@ void matrix_init(void) | |||
| 67 | matrix[i] = 0; | 69 | matrix[i] = 0; |
| 68 | matrix_debouncing[i] = 0; | 70 | matrix_debouncing[i] = 0; |
| 69 | } | 71 | } |
| 70 | 72 | ||
| 73 | #ifdef LED_ENABLE | ||
| 71 | serial_init(); | 74 | serial_init(); |
| 75 | #endif | ||
| 72 | } | 76 | } |
| 73 | 77 | ||
| 74 | uint8_t matrix_scan(void) | 78 | uint8_t matrix_scan(void) |
