From 0c123e131fb0642f7f7b6d2c8b4b552b6b530fae Mon Sep 17 00:00:00 2001 From: Helge Date: Sun, 2 Oct 2022 22:21:18 +0200 Subject: [PATCH] Update xsns_33_qmc5883l.ino --- tasmota/tasmota_xsns_sensor/xsns_33_qmc5883l.ino | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tasmota/tasmota_xsns_sensor/xsns_33_qmc5883l.ino b/tasmota/tasmota_xsns_sensor/xsns_33_qmc5883l.ino index be66649e3..e34682db7 100644 --- a/tasmota/tasmota_xsns_sensor/xsns_33_qmc5883l.ino +++ b/tasmota/tasmota_xsns_sensor/xsns_33_qmc5883l.ino @@ -364,9 +364,12 @@ void QMC5883L_Show(uint8_t json) * Interface \*********************************************************************************************/ -bool Xsns99(byte function) +bool Xsns33(byte function) { - if (!I2cEnabled(XI2C_69)) { return false; } + if (!I2cEnabled(XI2C_71)) + { + return false; + } bool result = false;