Add RGB keymap to UT47 (#2826)
* Create readme.md * RGB keymap * Update matrix.c Remove serial when not used.
This commit is contained in:
parent
4afd970dc4
commit
01a85b780c
5 changed files with 123 additions and 2 deletions
|
@ -26,7 +26,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#include "debug.h"
|
||||
#include "util.h"
|
||||
#include "matrix.h"
|
||||
#include "protocol/serial.h"
|
||||
#ifdef LED_ENABLE
|
||||
#include "protocol/serial.h"
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef DEBOUNCE
|
||||
|
@ -67,8 +69,10 @@ void matrix_init(void)
|
|||
matrix[i] = 0;
|
||||
matrix_debouncing[i] = 0;
|
||||
}
|
||||
|
||||
|
||||
#ifdef LED_ENABLE
|
||||
serial_init();
|
||||
#endif
|
||||
}
|
||||
|
||||
uint8_t matrix_scan(void)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue