summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/frenchdev/frenchdev.h
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-04-22 08:25:21 -0700
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-04-22 08:25:21 -0700
commitc7583d181a2cae24af60efa93caa3d662e5d48f4 (patch)
tree3658e642bf154a3aca220d877c3b58a68b958bd5 /keyboards/handwired/frenchdev/frenchdev.h
parent76e78e8ca1a348e85b3e8f351fcb42d94a3634a4 (diff)
Update handwired/frenchdev keyboard (#5443)
Diffstat (limited to 'keyboards/handwired/frenchdev/frenchdev.h')
-rw-r--r--keyboards/handwired/frenchdev/frenchdev.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/keyboards/handwired/frenchdev/frenchdev.h b/keyboards/handwired/frenchdev/frenchdev.h
index 82dbe18b89..1df3990887 100644
--- a/keyboards/handwired/frenchdev/frenchdev.h
+++ b/keyboards/handwired/frenchdev/frenchdev.h
@@ -1,10 +1,9 @@
-#ifndef FRENCHDEV_V1_H
-#define FRENCHDEV_V1_H
+#pragma once
#include "quantum.h"
#include <stdint.h>
#include <stdbool.h>
-#include "i2cmaster.h"
+#include "i2c_master.h"
#include <util/delay.h>
#define CPU_PRESCALE(n) (CLKPR = 0x80, CLKPR = (n))
@@ -24,6 +23,7 @@
#define OLATB 0x15
extern uint8_t mcp23018_status;
+#define I2C_TIMEOUT 100
void init_frenchdev(void);
void frenchdev_blink_all_leds(void);
@@ -111,5 +111,3 @@ inline void frenchdev_led_all_set(uint8_t n)
{ k51, k41, k31, k21, k11, k01 }, \
{ k50, k40, k30, k20, k10, KC_NO } \
}
-
-#endif