diff options
author | James Young <[email protected]> | 2021-07-29 12:14:26 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-29 12:14:26 -0700 |
commit | 8ca6d835b9c3b81dd1815cc57fdc154766c7dbe5 (patch) | |
tree | 90f38705d647f90e958addbbce01d7f428fd3257 /keyboards/atomic/atomic.c | |
parent | c0149dc37601e897e57739c65bbd8a4890adb4f7 (diff) | |
download | qmk_firmware-8ca6d835b9c3b81dd1815cc57fdc154766c7dbe5.tar.gz qmk_firmware-8ca6d835b9c3b81dd1815cc57fdc154766c7dbe5.zip |
Atomic Refactor (#13761)
* info.json: human-friendly formatting
- one key per line
- line breaks between physical rows
- four-space indent
* info.json: add data for LAYOUT_grid
* fix keymap paths
This commit corrects the paths for three keymaps that were in the wrong directory.
* refactor and bugfix abienz keymap
- remove extra commas
- use QMK-native aliases for KC_TRNS and KC_NO
- add include for Colemak keycode support
- use four-space indent
* refactor and bugfix michelle keymap
- remove inline comments for keymap layout
- remove extra commas
- use QMK-native aliases for KC_TRNS and KC_NO
- use four-space indent
* refactor and bugfix twolayer keymap
- remove extra commas
- refactor action_get_macro() keycode to QMK-native keycode
- use QMK-native aliases for KC_TRNS
- use four-space indent
- adjust grid alignment
* rename LAYOUT_grid to LAYOUT_ortho_5x15
* refactor config.h file
- use #pragma once include guard
- update MANUFACTURER and PRODUCT strings to be consistent with other OLKB boards
- remove Magic config (all settings are default)
* refactor atomic.c
- add license header
- use GPIO control functions
* refactor atomic.h
- add license header
- use #pragma once include guard
- remove redundant file includes
* refactor rules.mk
- remove Bootloader selection comments
- unify Build Option header comment to QMK template
- unify Build Option rules and inline comments
* alias LAYOUT_grid to LAYOUT_ortho_5x15
Diffstat (limited to 'keyboards/atomic/atomic.c')
-rw-r--r-- | keyboards/atomic/atomic.c | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/keyboards/atomic/atomic.c b/keyboards/atomic/atomic.c index eba5ed61f6..1bd663c514 100644 --- a/keyboards/atomic/atomic.c +++ b/keyboards/atomic/atomic.c @@ -1,3 +1,19 @@ +/* Copyright 2015 Jack Humbert + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + #include "atomic.h" void matrix_init_kb(void) { @@ -5,8 +21,8 @@ void matrix_init_kb(void) { // runs once when the firmware starts up // Turn status LED on - DDRE |= (1<<6); - PORTE |= (1<<6); + setPinOutput(E6); + writePinHigh(E6); matrix_init_user(); } |