Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Ben Meadors 2025-10-12 13:22:27 -05:00 committed by GitHub
parent a94f867757
commit 45d767cf86
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -13,7 +13,7 @@ bool TSL2561Sensor::initDevice(TwoWire *bus, ScanI2C::FoundDevice *dev)
{
LOG_INFO("Init sensor: %s", sensorName);
status = tsl.begin(nodeTelemetrySensorsMap[sensorType].second);
status = tsl.begin(bus);
if (!status) {
return status;
}