Skip to content

Commit

Permalink
changing reference to xsns109 (#19170)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent1964 authored Jul 23, 2023
1 parent 31c3555 commit 547169c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tasmota/tasmota_xsns_sensor/xsns_110_max17043.ino
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -48,7 +48,7 @@
*
\*********************************************************************************************/

#define XSNS_109 109
#define XSNS_110 110

const char *mqttId = "MAX17043";

Expand Down Expand Up @@ -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) {
Expand All @@ -129,4 +129,4 @@ if (!I2cEnabled(MAX17043_ADDRESS)) { return false; }
}

#endif // USE_MAX17043
#endif // USE_I2C
#endif // USE_I2C

0 comments on commit 547169c

Please sign in to comment.