missing cob fix

This commit is contained in:
Milos Kozak 2017-12-30 19:42:07 +01:00
parent b39fe2ee5e
commit 8c213cbc11

View file

@ -545,6 +545,10 @@ public class IobCobCalculatorPlugin implements PluginBase {
//log.debug(">>> getAutosensData Cache hit " + data.log(time));
return data;
} else {
if (time > now) {
// data may not be calculated yet, use last data
return getLastAutosensData();
}
//log.debug(">>> getAutosensData Cache miss " + new Date(time).toLocaleString());
return null;
}