mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-14 06:23:07 +01:00
max handling also from 0183, satInfo cleanup
This commit is contained in:
@@ -71,10 +71,7 @@ private:
|
||||
unsigned long now = millis();
|
||||
if (!item->isValid(now))
|
||||
return;
|
||||
if (item->getData() > maxItem->getData() || !maxItem->isValid(now))
|
||||
{
|
||||
maxItem->update(item->getData(),sourceId);
|
||||
}
|
||||
maxItem->updateMax(item->getData(),sourceId);
|
||||
}
|
||||
void updateDouble(GwBoatItem<double> *item, double value)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user