summaryrefslogtreecommitdiff
path: root/keyboards/xd84/pca9555.h
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2019-08-14 20:07:26 +0100
committerDrashna Jaelre <drashna@live.com>2019-08-14 12:07:26 -0700
commit41482e02a6ac06bd9d0fa31c42d372c9d73c5d2b (patch)
treea2f83906992e0c504119896c86a20c43d7000302 /keyboards/xd84/pca9555.h
parent547fbe769c684745195a53baf9f62730ceea804d (diff)
[Keyboard] Align xd84 and xd96 with moon (#6465)
* Refactor xd84 to use LINK_TIME_OPTIMIZATION_ENABLE * Refactor xd96 to use LINK_TIME_OPTIMIZATION_ENABLE * Align xd84 and xd96 with moon * Update keyboards/xd96/rules.mk Co-Authored-By: Drashna Jaelre <drashna@live.com> * Update keyboards/xd84/rules.mk Co-Authored-By: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/xd84/pca9555.h')
-rw-r--r--keyboards/xd84/pca9555.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/keyboards/xd84/pca9555.h b/keyboards/xd84/pca9555.h
index 6aaee8a6f8..ebb97e2f30 100644
--- a/keyboards/xd84/pca9555.h
+++ b/keyboards/xd84/pca9555.h
@@ -18,15 +18,15 @@
/*
PCA9555
,----------.
- SDA --| SDA P00 |-- P1
- SCL --| SCL P01 |-- P2
- INT --| INT P02 |-- P3
- | P03 |-- P4
- A0 --| A0 P04 |-- P5
- A1 --| A1 P05 |-- P6
- A2 --| A2 P06 |-- P7
- | P07 |-- P8
- | |
+ SDA --| SDA P00 |-- P00
+ SCL --| SCL P01 |-- P01
+ INT --| INT P02 |-- P02
+ | P03 |-- P03
+ A0 --| A0 P04 |-- P04
+ A1 --| A1 P05 |-- P05
+ A2 --| A2 P06 |-- P06
+ | P07 |-- P07
+ | |
| P10 |-- P10
| P11 |-- P11
| P12 |-- P12
@@ -35,7 +35,7 @@
| P15 |-- P15
| P16 |-- P16
| P17 |-- P17
- `----------'
+ `----------'
*/
#define PCA9555_PORT0 0
@@ -52,4 +52,4 @@ void pca9555_set_config(uint8_t slave_addr, uint8_t port, uint8_t conf);
void pca9555_set_output(uint8_t slave_addr, uint8_t port, uint8_t conf);
-uint8_t pca9555_readPins(uint8_t slave_addr, uint8_t port); \ No newline at end of file
+uint8_t pca9555_readPins(uint8_t slave_addr, uint8_t port);