diff options
Diffstat (limited to 'keyboards/fc980c')
| -rw-r--r-- | keyboards/fc980c/actuation_point.h | 5 | ||||
| -rw-r--r-- | keyboards/fc980c/config.h | 5 | ||||
| -rw-r--r-- | keyboards/fc980c/i2c.h | 5 |
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 | |||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 15 | along 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. |
| 30 | void adjust_actuation_point(int offset); | 29 | void 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 | |||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 15 | along 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); | |||
| 45 | extern unsigned char i2c_read(unsigned char ack); | 44 | extern 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 | ||
