mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-16 15:33:05 +01:00
intermediate: simplify task interfaces
This commit is contained in:
@@ -65,7 +65,7 @@ static void addGroveItems(std::vector<IICSensorBase::Creator> &creators,GwApi *a
|
||||
if (scfg->ok)
|
||||
{
|
||||
LOG_DEBUG(GwLog::LOG, "adding %s from grove config", prfx.c_str());
|
||||
sensors.add(api, scfg);
|
||||
sensors.add(api, SensorBase::Ptr(scfg));
|
||||
found=true;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user