diff options
author | Ryan <[email protected]> | 2025-01-21 09:53:46 +1100 |
---|---|---|
committer | GitHub <[email protected]> | 2025-01-20 22:53:46 +0000 |
commit | 68130cc8a5557ac997a4aa6c95c7f4c67d07229b (patch) | |
tree | 65e6f76bc815e0a6b8127a4b2799ebad62b3e484 /keyboards/ferris/0_2/matrix.c | |
parent | a98070f21288fae025c6ffa2e08b775fb661bb4b (diff) | |
download | qmk_firmware-68130cc8a5557ac997a4aa6c95c7f4c67d07229b.tar.gz qmk_firmware-68130cc8a5557ac997a4aa6c95c7f4c67d07229b.zip |
`ferris/0_1`: update I2C API usage (#24839)
Diffstat (limited to 'keyboards/ferris/0_2/matrix.c')
-rw-r--r-- | keyboards/ferris/0_2/matrix.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/keyboards/ferris/0_2/matrix.c b/keyboards/ferris/0_2/matrix.c index 74fab717a1..76bbcaf7b5 100644 --- a/keyboards/ferris/0_2/matrix.c +++ b/keyboards/ferris/0_2/matrix.c @@ -30,8 +30,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. extern i2c_status_t mcp23017_status; #define MCP23017_I2C_TIMEOUT 1000 -#define I2C_WRITE 0x00 -#define I2C_READ 0x01 + // For a better understanding of the i2c protocol, this is a good read: // https://www.robot-electronics.co.uk/i2c-tutorial |