fix reading glimp bg data
This commit is contained in:
parent
7f4db28c41
commit
f528f1cd83
|
@ -47,7 +47,7 @@ public class BgReading implements DataPointInterface {
|
|||
public BgReading(NSSgv sgv) {
|
||||
timeIndex = sgv.getMills();
|
||||
value = sgv.getMgdl();
|
||||
raw = sgv.getFiltered();
|
||||
raw = sgv.getFiltered() != null ? sgv.getFiltered() : value;
|
||||
direction = sgv.getDirection();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue