summaryrefslogtreecommitdiff
path: root/keyboards/handwired/onekey/keymaps/i2c_scanner/config.h
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2020-03-18 18:14:45 +0000
committerGitHub <noreply@github.com>2020-03-18 11:14:45 -0700
commitb6316c502499fd245cfb5ad468d7870d229f55d4 (patch)
tree9f61de0140fccabaa7f499008cc3ec03931e8414 /keyboards/handwired/onekey/keymaps/i2c_scanner/config.h
parentfc4ef6934dc8596882428d11877d065ca6272129 (diff)
[Keymap] I2C scanner (#8454)
* Add i2c scanner keymap * Add bodge for chibios * Fix readme title * make chibios bodge a little cleaner * fix typo in readme
Diffstat (limited to 'keyboards/handwired/onekey/keymaps/i2c_scanner/config.h')
-rw-r--r--keyboards/handwired/onekey/keymaps/i2c_scanner/config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/keyboards/handwired/onekey/keymaps/i2c_scanner/config.h b/keyboards/handwired/onekey/keymaps/i2c_scanner/config.h
new file mode 100644
index 0000000000..42ab08e36e
--- /dev/null
+++ b/keyboards/handwired/onekey/keymaps/i2c_scanner/config.h
@@ -0,0 +1,6 @@
+#pragma once
+
+// AVR: can change to other supported values
+#define F_SCL 100000UL
+
+// TODO: add some default ARM configs for i2cv1 and i2cv2