aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/ergodox_ez/ergodox_ez.h
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2020-09-30 16:52:47 -0700
committerGitHub <noreply@github.com>2020-09-30 16:52:47 -0700
commit11c308d436180974b7719ce78cdffdd83a1302c0 (patch)
tree4c798a48b13e328bba01b66459775511e0131493 /keyboards/ergodox_ez/ergodox_ez.h
parent482c9fbbf28c7e871145cacd01f22c9edf7d1ddf (diff)
downloadfirmware-11c308d436180974b7719ce78cdffdd83a1302c0.tar.gz
firmware-11c308d436180974b7719ce78cdffdd83a1302c0.tar.bz2
firmware-11c308d436180974b7719ce78cdffdd83a1302c0.zip
[Keyboard] Convert ErgoDox EZ to Matrix Lite (#10189)
* Convert ErgoDox EZ to lite matrix * Add initial config from Dactyl config Based on ErinCall's work to generalize the mcp i/o expander matrix code * formatting * Fix number of pins * Remove unused defines
Diffstat (limited to 'keyboards/ergodox_ez/ergodox_ez.h')
-rw-r--r--keyboards/ergodox_ez/ergodox_ez.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/keyboards/ergodox_ez/ergodox_ez.h b/keyboards/ergodox_ez/ergodox_ez.h
index 88a0a2ee9..a8b02a96b 100644
--- a/keyboards/ergodox_ez/ergodox_ez.h
+++ b/keyboards/ergodox_ez/ergodox_ez.h
@@ -4,10 +4,6 @@
#include <stdint.h>
#include <stdbool.h>
#include "i2c_master.h"
-#include <util/delay.h>
-
-#define CPU_PRESCALE(n) (CLKPR = 0x80, CLKPR = (n))
-#define CPU_16MHz 0x00
// I2C aliases and register addresses (see "mcp23018.md")
#define I2C_ADDR 0b0100000