aboutsummaryrefslogtreecommitdiff
path: root/keyboards/fc980c
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/fc980c
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/fc980c')
-rw-r--r--keyboards/fc980c/actuation_point.h5
-rw-r--r--keyboards/fc980c/config.h5
-rw-r--r--keyboards/fc980c/i2c.h5
3 files changed, 3 insertions, 12 deletions
diff --git a/keyboards/fc980c/actuation_point.h b/keyboards/fc980c/actuation_point.h
index f7066d92c..e02832186 100644
--- a/keyboards/fc980c/actuation_point.h
+++ b/keyboards/fc980c/actuation_point.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 ACTUATION_POINT_H 18#pragma once
19#define ACTUATION_POINT_H
20 19
21#include <stdint.h> 20#include <stdint.h>
22 21
@@ -28,5 +27,3 @@ void actuation_point_down(void);
28 27
29// be careful with this. 28// be careful with this.
30void adjust_actuation_point(int offset); 29void adjust_actuation_point(int offset);
31
32#endif
diff --git a/keyboards/fc980c/config.h b/keyboards/fc980c/config.h
index b74ca64a5..b0bffef76 100644
--- a/keyboards/fc980c/config.h
+++ b/keyboards/fc980c/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
@@ -87,5 +86,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
87// test all keys before further adjustment. 86// test all keys before further adjustment.
88// this should probably stay in the range +/-5. 87// this should probably stay in the range +/-5.
89// #define ACTUATION_DEPTH_ADJUSTMENT 0 88// #define ACTUATION_DEPTH_ADJUSTMENT 0
90
91#endif
diff --git a/keyboards/fc980c/i2c.h b/keyboards/fc980c/i2c.h
index c15b6bc50..8910e70f1 100644
--- a/keyboards/fc980c/i2c.h
+++ b/keyboards/fc980c/i2c.h
@@ -1,5 +1,4 @@
1#ifndef I2C_H 1#pragma once
2#define I2C_H
3 2
4#include <stdint.h> 3#include <stdint.h>
5 4
@@ -45,5 +44,3 @@ extern unsigned char i2c_readNak(void);
45extern unsigned char i2c_read(unsigned char ack); 44extern unsigned char i2c_read(unsigned char ack);
46 45
47#define i2c_read(ack) (ack) ? i2c_readAck() : i2c_readNak(); 46#define i2c_read(ack) (ack) ? i2c_readAck() : i2c_readNak();
48
49#endif