Update xsns_77_vl53l1x.ino

This commit is contained in:
Theo Arends 2020-09-29 11:08:03 +02:00 committed by GitHub
parent 54912b2548
commit e6ff129d0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
\*********************************************************************************************/
#define XSNS_77 77
#define XI2C_53 53 // See I2CDEVICES.md
#define XI2C_54 54 // See I2CDEVICES.md
#include "VL53L1X.h"
VL53L1X vl53l1x = VL53L1X(); // create object copy
@ -95,7 +95,7 @@ void Vl53l1Show(boolean json) {
bool Xsns77(byte function)
{
if (!I2cEnabled(XI2C_53)) { return false; }
if (!I2cEnabled(XI2C_54)) { return false; }
bool result = false;
if (FUNC_INIT == function) {