summaryrefslogtreecommitdiff
path: root/include/driver
diff options
context:
space:
mode:
Diffstat (limited to 'include/driver')
-rw-r--r--include/driver/soft_i2c.h4
-rw-r--r--include/driver/tsl2591.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/driver/soft_i2c.h b/include/driver/soft_i2c.h
index b581a38..e53b13e 100644
--- a/include/driver/soft_i2c.h
+++ b/include/driver/soft_i2c.h
@@ -11,7 +11,7 @@ class SoftI2C {
SoftI2C(const SoftI2C &copy);
unsigned char sda, scl;
-#if SOFTI2C_PULLUP_EXTERNAL
+#if CONFIG_driver_softi2c_pullup_dynamic_external
unsigned char sda_pull, scl_pull;
#endif
@@ -21,7 +21,7 @@ class SoftI2C {
unsigned char rx(bool send_ack);
public:
-#if SOFTI2C_PULLUP_EXTERNAL
+#if CONFIG_driver_softi2c_pullup_dynamic_external
SoftI2C(unsigned char sda, unsigned char scl,
unsigned char sda_pull, unsigned char scl_pull) :
sda(sda), scl(scl), sda_pull(sda_pull), scl_pull(scl_pull) {}
diff --git a/include/driver/tsl2591.h b/include/driver/tsl2591.h
index 0e9e8c8..faf837e 100644
--- a/include/driver/tsl2591.h
+++ b/include/driver/tsl2591.h
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Daniel Friesel
+ * Copyright 2021 Daniel Friesel
*
* SPDX-License-Identifier: BSD-2-Clause
*/