Skip to content
Snippets Groups Projects
Commit beda7e99 authored by Pogman's avatar Pogman
Browse files

fix sgv exception check

parent 04dc99cb
No related branches found
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