aboutsummaryrefslogtreecommitdiff
path: root/keyboards/bpiphany/sixshooter/sixshooter.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/bpiphany/sixshooter/sixshooter.h')
-rw-r--r--keyboards/bpiphany/sixshooter/sixshooter.h16
1 files changed, 6 insertions, 10 deletions
diff --git a/keyboards/bpiphany/sixshooter/sixshooter.h b/keyboards/bpiphany/sixshooter/sixshooter.h
index e8fc68f5c..33ac9335e 100644
--- a/keyboards/bpiphany/sixshooter/sixshooter.h
+++ b/keyboards/bpiphany/sixshooter/sixshooter.h
@@ -1,15 +1,13 @@
1#ifndef SIXSHOOTER_H 1#pragma once
2#define SIXSHOOTER_H
3 2
4#include "quantum.h" 3#include "quantum.h"
5 4
6#define LAYOUT( \ 5#define LAYOUT( \
7 K00, K01, K02, \ 6 k00, k01, k02, \
8 K03, K04, K05 \ 7 k10, k11, k12 \
9) \ 8) { \
10{ \ 9 { k00, k01, k02 }, \
11 { K00, K01, K02 }, \ 10 { k10, k11, k12 } \
12 { K03, K04, K05 } \
13} 11}
14 12
15inline void sixshooter_led_0_on(void) { DDRB |= (1<<6); PORTB |= (1<<6); } 13inline void sixshooter_led_0_on(void) { DDRB |= (1<<6); PORTB |= (1<<6); }
@@ -42,5 +40,3 @@ inline void sixshooter_led_all_off(void) {
42 sixshooter_led_4_off(); 40 sixshooter_led_4_off();
43 sixshooter_led_5_off(); 41 sixshooter_led_5_off();
44} 42}
45
46#endif