From cf3ba89c46301bb8c0a1eda470c353801117fc0b Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 28 May 2021 13:49:46 +0200 Subject: softi2c driver: move to kconfig-first approach --- include/driver/soft_i2c.h | 4 ++-- include/driver/tsl2591.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'include/driver') 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 ©); 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 */ -- cgit v1.2.3