Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changing reference to xsns109 #19170

Merged
merged 1 commit into from
Jul 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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