Cleanups.

This commit is contained in:
Johannes Mockenhaupt 2017-07-15 13:45:57 +02:00
parent eab9d8dcd7
commit 9d8d12fcb9
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1
2 changed files with 3 additions and 5 deletions

View file

@ -106,8 +106,6 @@ public class RuffyScripter {
private volatile Command activeCmd = null;
// TODO fire up a monitoring thread to intervene when we're stuck? re-bind service
// in case ruffy app went away
public CommandResult runCommand(final Command cmd) {
try {
if (isPumpBusy()) {

View file

@ -46,10 +46,10 @@ import info.nightscout.utils.DateUtil;
public class ComboPlugin implements PluginBase, PumpInterface {
private static Logger log = LoggerFactory.getLogger(ComboPlugin.class);
boolean fragmentEnabled = false;
boolean fragmentVisible = false;
private boolean fragmentEnabled = false;
private boolean fragmentVisible = false;
PumpDescription pumpDescription = new PumpDescription();
private PumpDescription pumpDescription = new PumpDescription();
// TODO quick hack until pump state is more thoroughly supported
int activeTbrPercentage = -1;