Notes, typo.
This commit is contained in:
parent
c80553d3bb
commit
cc715cf76f
|
@ -443,6 +443,10 @@ public class RuffyScripter {
|
|||
state.tbrRemainingDuration = durationMenuTime.getHour() * 60 + durationMenuTime.getMinute();
|
||||
state.tbrRate = ((double) menu.getAttribute(MenuAttribute.BASAL_RATE));
|
||||
}
|
||||
// TODO v2, read current base basal rate, which is shown center when no TBR is active.
|
||||
// Check if that holds true when an extended bolus is running.
|
||||
// Add a field to PumpStatus, rather than renaming/overloading tbrRate to mean
|
||||
// either TBR rate or basal rate depending on whether a TBR is active.
|
||||
} else if (menuType == MenuType.WARNING_OR_ERROR) {
|
||||
state.errorMsg = (String) menu.getAttribute(MenuAttribute.MESSAGE);
|
||||
} else if (menuType == MenuType.STOP) {
|
||||
|
|
|
@ -133,7 +133,7 @@ public class ComboPlugin implements PluginBase, PumpInterface {
|
|||
log.error("Command result: " + localLastCmdResult);
|
||||
PumpState localPumpState = pumpState;
|
||||
if (localPumpState != null && localPumpState.errorMsg != null) {
|
||||
log.warn("Pump is in error state, displayng; " + localPumpState.errorMsg);
|
||||
log.warn("Pump is in error state, displaying; " + localPumpState.errorMsg);
|
||||
}
|
||||
long[] vibratePattern = new long[]{1000, 2000, 1000, 2000, 1000};
|
||||
Uri uri = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_ALARM);
|
||||
|
|
Loading…
Reference in a new issue