summaryrefslogtreecommitdiff
path: root/drivers/gpio
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-02-12 10:29:31 -0800
committerGitHub <noreply@github.com>2022-02-12 18:29:31 +0000
commit63646e8906e062d1c1de3925cba70c4e3426a855 (patch)
tree4e91648b77b838e1125cf86331d7e84bde6d07a9 /drivers/gpio
parentafcdd7079c774dec2aa4b7f2d08adf8b7310919b (diff)
downloadqmk_firmware-63646e8906e062d1c1de3925cba70c4e3426a855.tar.gz
qmk_firmware-63646e8906e062d1c1de3925cba70c4e3426a855.zip
Format code according to conventions (#16322)
Diffstat (limited to 'drivers/gpio')
-rw-r--r--drivers/gpio/mcp23018.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpio/mcp23018.c b/drivers/gpio/mcp23018.c
index dc8ab03c50..41cbfe087e 100644
--- a/drivers/gpio/mcp23018.c
+++ b/drivers/gpio/mcp23018.c
@@ -10,11 +10,11 @@
#define TIMEOUT 100
enum {
- CMD_IODIRA = 0x00, // i/o direction register
+ CMD_IODIRA = 0x00, // i/o direction register
CMD_IODIRB = 0x01,
- CMD_GPPUA = 0x0C, // GPIO pull-up resistor register
+ CMD_GPPUA = 0x0C, // GPIO pull-up resistor register
CMD_GPPUB = 0x0D,
- CMD_GPIOA = 0x12, // general purpose i/o port register (write modifies OLAT)
+ CMD_GPIOA = 0x12, // general purpose i/o port register (write modifies OLAT)
CMD_GPIOB = 0x13,
};