diff options
| author | QMK Bot <hello@qmk.fm> | 2022-02-12 10:29:31 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-12 18:29:31 +0000 |
| commit | 63646e8906e062d1c1de3925cba70c4e3426a855 (patch) | |
| tree | 4e91648b77b838e1125cf86331d7e84bde6d07a9 /drivers/gpio | |
| parent | afcdd7079c774dec2aa4b7f2d08adf8b7310919b (diff) | |
Format code according to conventions (#16322)
Diffstat (limited to 'drivers/gpio')
| -rw-r--r-- | drivers/gpio/mcp23018.c | 6 |
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 @@ | |||
| 10 | #define TIMEOUT 100 | 10 | #define TIMEOUT 100 |
| 11 | 11 | ||
| 12 | enum { | 12 | enum { |
| 13 | CMD_IODIRA = 0x00, // i/o direction register | 13 | CMD_IODIRA = 0x00, // i/o direction register |
| 14 | CMD_IODIRB = 0x01, | 14 | CMD_IODIRB = 0x01, |
| 15 | CMD_GPPUA = 0x0C, // GPIO pull-up resistor register | 15 | CMD_GPPUA = 0x0C, // GPIO pull-up resistor register |
| 16 | CMD_GPPUB = 0x0D, | 16 | CMD_GPPUB = 0x0D, |
| 17 | CMD_GPIOA = 0x12, // general purpose i/o port register (write modifies OLAT) | 17 | CMD_GPIOA = 0x12, // general purpose i/o port register (write modifies OLAT) |
| 18 | CMD_GPIOB = 0x13, | 18 | CMD_GPIOB = 0x13, |
| 19 | }; | 19 | }; |
| 20 | 20 | ||
