Skip to content

Commit

Permalink
DisplayGlucose: fix for non-noisy delta
Browse files Browse the repository at this point in the history
  • Loading branch information
jamorham committed Nov 5, 2016
1 parent 14fae84 commit d81015e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ public static DisplayGlucose getDisplayGlucose() {
// TODO ignores plugin
//dg.unitized_delta = BgGraphBuilder.unitizedDeltaString(true, true, is_follower , doMgdl);
dg.unitized_delta_no_units = unitizedDeltaString(false, true, doMgdl, estimate, timestamp, previous_estimate, previous_timestamp);
estimated_delta = estimate - previous_estimate; // TODO time stretch adjustment?
// TODO optimize adding units
dg.unitized_delta = unitizedDeltaString(true, true, doMgdl, estimate, timestamp, previous_estimate, previous_timestamp);
long time_delta = timestamp - previous_timestamp;
Expand Down

0 comments on commit d81015e

Please sign in to comment.