aboutsummaryrefslogtreecommitdiff
path: root/keyboards/6ball
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-09-01 19:03:14 +1000
committerGitHub <noreply@github.com>2021-09-01 19:03:14 +1000
commit41c50bb653b840c595fb31541729d892f68666e6 (patch)
treeba05c7c9654f7be1104b20f3195dd2cf288e004e /keyboards/6ball
parent971d36bb9ea37962c57733e5f7c0c24e5a6cebeb (diff)
downloadqmk_firmware-41c50bb653b840c595fb31541729d892f68666e6.tar.gz
qmk_firmware-41c50bb653b840c595fb31541729d892f68666e6.zip
Change keyboard level include guards to `pragma once` (#14248)
* Change keyboard level include guards to `pragma once` And clean up a lot of layout macros * Oops * Remove dangling endif
Diffstat (limited to 'keyboards/6ball')
-rw-r--r--keyboards/6ball/6ball.h16
-rw-r--r--keyboards/6ball/config.h5
2 files changed, 7 insertions, 14 deletions
diff --git a/keyboards/6ball/6ball.h b/keyboards/6ball/6ball.h
index 234235341..ef73a7205 100644
--- a/keyboards/6ball/6ball.h
+++ b/keyboards/6ball/6ball.h
@@ -1,14 +1,10 @@
1#ifndef SIXBALL_H 1#pragma once
2#define SIXBALL_H
3 2
4#include "quantum.h" 3#include "quantum.h"
5 4
6#define LAYOUT( \ 5#define LAYOUT( \
7 k01, k02, k03, \ 6 k05, k00, k01, \
8 k04, k05, k06 \ 7 k04, k03, k02 \
9) \ 8) { \
10{ \ 9 { k00, k01, k02, k03, k04, k05 } \
11 { k02, k03, k06, k05, k04, k01 } \ 10}
12}
13
14#endif
diff --git a/keyboards/6ball/config.h b/keyboards/6ball/config.h
index c7d4d3354..cc496d675 100644
--- a/keyboards/6ball/config.h
+++ b/keyboards/6ball/config.h
@@ -15,8 +15,7 @@ You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>. 15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/ 16*/
17 17
18#ifndef CONFIG_H 18#pragma once
19#define CONFIG_H
20 19
21#include "config_common.h" 20#include "config_common.h"
22 21
@@ -46,5 +45,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
46#define DIODE_DIRECTION COL2ROW 45#define DIODE_DIRECTION COL2ROW
47 46
48#define TAPPING_TERM 200 47#define TAPPING_TERM 200
49
50#endif