aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpio/pca9505.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/pca9505.h')
-rw-r--r--drivers/gpio/pca9505.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/gpio/pca9505.h b/drivers/gpio/pca9505.h
index 732ddb88ea..0cec8610d9 100644
--- a/drivers/gpio/pca9505.h
+++ b/drivers/gpio/pca9505.h
@@ -64,4 +64,8 @@ bool pca9505_set_output(uint8_t slave_addr, pca9505_port_t port, uint8_t conf);
/**
* Read state of a given port
*/
-bool pca9505_readPins(uint8_t slave_addr, pca9505_port_t port, uint8_t* ret);
+bool pca9505_read_pins(uint8_t slave_addr, pca9505_port_t port, uint8_t* ret);
+
+// DEPRECATED - DO NOT USE
+
+#define pca9505_readPins pca9505_read_pins