Skip to content
Snippets Groups Projects
Commit 0037b42d authored by Pogman's avatar Pogman Committed by GitHub
Browse files

Merge pull request #153 from Pogman/develop-treatments

fix sgv exception check
parents 4363f8a0 beda7e99
No related tags found
No related merge requests found
......@@ -143,7 +143,7 @@ public class PumpStatusResponseMessage extends MedtronicSendMessageResponseMessa
cgmDate = MessageUtils.decodeDateTime((long) statusBuffer.getInt(0x37) & 0x00000000FFFFFFFFL, (long) statusBuffer.getInt(0x3B));
Log.d(TAG, "original cgm/sgv date: " + cgmDate);
if (cgmException) {
if (sgv >= 0x0300) {
cgmExceptionType = (byte) (sgv & 0x00FF);
cgmTrend = PumpStatusEvent.CGM_TREND.NOT_SET;
if (cgmExceptionType == 0x01) cgmWarmUp = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment