diff options
| author | Joel Challis <git@zvecr.com> | 2021-03-10 22:48:18 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-10 22:48:18 +0000 |
| commit | 790f94533c936409e6be56e8b638969b42350180 (patch) | |
| tree | 9da39389c6565e8755a9075be6c4fee95e6028af /keyboards/kona_classic | |
| parent | 9089244db77d724f23ddfc01be370f9c029c8e6c (diff) | |
| download | qmk_firmware-790f94533c936409e6be56e8b638969b42350180.tar.gz qmk_firmware-790f94533c936409e6be56e8b638969b42350180.zip | |
Refactor to use led config - Part 6 (#12115)
* Convert to config
* Convert to config
* Convert to config
* Convert to config
* Convert to config
* Convert to config
* Convert to config
* Convert to config
* revert changes
Diffstat (limited to 'keyboards/kona_classic')
| -rw-r--r-- | keyboards/kona_classic/kona_classic.c | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/keyboards/kona_classic/kona_classic.c b/keyboards/kona_classic/kona_classic.c index 71cee7baa..af4ea06e6 100644 --- a/keyboards/kona_classic/kona_classic.c +++ b/keyboards/kona_classic/kona_classic.c | |||
| @@ -14,32 +14,3 @@ | |||
| 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 14 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 15 | */ | 15 | */ |
| 16 | #include "kona_classic.h" | 16 | #include "kona_classic.h" |
| 17 | |||
| 18 | void matrix_init_kb(void) { | ||
| 19 | // put your keyboard start-up code here | ||
| 20 | // runs once when the firmware starts up | ||
| 21 | led_init_ports(); | ||
| 22 | matrix_init_user(); | ||
| 23 | } | ||
| 24 | |||
| 25 | void matrix_scan_kb(void) { | ||
| 26 | // put your looping keyboard code here | ||
| 27 | // runs every cycle (a lot) | ||
| 28 | |||
| 29 | matrix_scan_user(); | ||
| 30 | } | ||
| 31 | |||
| 32 | bool process_record_kb(uint16_t keycode, keyrecord_t *record) { | ||
| 33 | // put your per-action keyboard code here | ||
| 34 | // runs for every action, just before processing by the firmware | ||
| 35 | |||
| 36 | return process_record_user(keycode, record); | ||
| 37 | } | ||
| 38 | |||
| 39 | void led_init_ports(void) { | ||
| 40 | // DDRB |= (1<<6) | (1<<7); // OUT | ||
| 41 | } | ||
| 42 | |||
| 43 | void led_set_kb(uint8_t usb_led) { | ||
| 44 | // led_set_user(usb_led); | ||
| 45 | } | ||
