mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-16 15:33:05 +01:00
intermediate: sensor config initializer list
This commit is contained in:
@@ -60,6 +60,7 @@ static void addGroveItems(std::vector<IICSensorBase::Creator> &creators,GwApi *a
|
||||
{
|
||||
if (! creator) continue;
|
||||
auto *scfg = creator(api, prfx);
|
||||
if (scfg == nullptr) continue;
|
||||
scfg->readConfig(api->getConfig());
|
||||
if (scfg->ok)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user