summaryrefslogtreecommitdiffstats
path: root/keyboards/atomic/atomic.c
diff options
context:
space:
mode:
authorJames Young <18669334+noroadsleft@users.noreply.github.com>2021-07-29 23:04:06 -0700
committerJames Young <18669334+noroadsleft@users.noreply.github.com>2021-07-29 23:04:06 -0700
commit80d8c4a48325b6b41a46f9445686ad0523aa4ccc (patch)
treef21df0940de69f08668ff450b261a17888b1685e /keyboards/atomic/atomic.c
parent25f43837d2d603505a498662993bdeaecb7bc43d (diff)
parent6fd9b2feba920e9c7773e1f9c84244ac0d0f50c0 (diff)
Merge remote-tracking branch 'upstream/master' into develop
Diffstat (limited to 'keyboards/atomic/atomic.c')
-rw-r--r--keyboards/atomic/atomic.c20
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();
}