changing reference to xsns109 (#19170)

This commit is contained in:
Vincent de Groot 2023-07-23 11:30:44 +02:00 committed by GitHub
parent 31c3555d4d
commit 547169c57d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
/*
xsns_109_max17043.ino - Support for MAX17043 fuel-gauge systems Lipo batteries for Tasmota
xsns_110_max17043.ino - Support for MAX17043 fuel-gauge systems Lipo batteries for Tasmota
Copyright (C) 2023 Vincent de Groot
@ -48,7 +48,7 @@
*
\*********************************************************************************************/
#define XSNS_109 109
#define XSNS_110 110
const char *mqttId = "MAX17043";
@ -104,7 +104,7 @@ void Max17043Show(void) {
* Interface
\*********************************************************************************************/
bool Xsns109(uint32_t function) {
bool Xsns110(uint32_t function) {
if (!I2cEnabled(MAX17043_ADDRESS)) { return false; }
if (FUNC_INIT == function) {
@ -129,4 +129,4 @@ if (!I2cEnabled(MAX17043_ADDRESS)) { return false; }
}
#endif // USE_MAX17043
#endif // USE_I2C
#endif // USE_I2C