From 3b28542d9cf256263bcc327e58e09140a11f7685 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Thu, 19 Sep 2024 17:21:08 +0200 Subject: [PATCH] Fix BMP second bus --- tasmota/tasmota_xsns_sensor/xsns_09_bmp.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/tasmota_xsns_sensor/xsns_09_bmp.ino b/tasmota/tasmota_xsns_sensor/xsns_09_bmp.ino index cec135d79..4b93265c2 100644 --- a/tasmota/tasmota_xsns_sensor/xsns_09_bmp.ino +++ b/tasmota/tasmota_xsns_sensor/xsns_09_bmp.ino @@ -48,7 +48,7 @@ #define BMP_CMND_RESET 0xB6 // I2C Parameter for RESET to put BMP into reset state -#ifdef ESP32 +#ifdef USE_I2C_BUS2 #define BMP_MAX_SENSORS 4 // 2 busses #else #define BMP_MAX_SENSORS 2