cleanup
This commit is contained in:
parent
04fffae811
commit
f94d1e85e1
|
@ -23,7 +23,7 @@ public class DanaRS_Packet_Option_Set_User_Option extends DanaRS_Packet {
|
|||
@Override
|
||||
public byte[] getRequestParams() {
|
||||
DanaRPump pump = DanaRPump.getInstance();
|
||||
log.debug("UserOptionsLoadedd4:"+(System.currentTimeMillis() - pump.lastConnection)/1000+" s ago"
|
||||
log.debug("UserOptions:"+(System.currentTimeMillis() - pump.lastConnection)/1000+" s ago"
|
||||
+"\ntimeDisplayType:"+pump.timeDisplayType
|
||||
+"\nbuttonScroll:"+pump.buttonScrollOnOff
|
||||
+"\ntimeDisplayType:"+pump.timeDisplayType
|
||||
|
|
|
@ -206,15 +206,6 @@ public class DanaRSService extends Service {
|
|||
|
||||
|
||||
public PumpEnactResult setUserSettings() {
|
||||
DanaRPump pump = DanaRPump.getInstance();
|
||||
log.debug("setUserSettings:"+(System.currentTimeMillis() - pump.lastConnection)/1000+" s ago"
|
||||
+"\ntimeDisplayType:"+pump.timeDisplayType
|
||||
+"\nbuttonScroll:"+pump.buttonScrollOnOff
|
||||
+"\ntimeDisplayType:"+pump.timeDisplayType
|
||||
+"\nlcdOnTimeSec:"+pump.lcdOnTimeSec
|
||||
+"\nbacklight:"+pump.backlightOnTimeSec
|
||||
+"\npumpUnits:"+pump.units
|
||||
+"\nlowReservoir:"+pump.lowReservoirRate);
|
||||
bleComm.sendMessage(new DanaRS_Packet_Option_Set_User_Option());
|
||||
bleComm.sendMessage(new DanaRS_Packet_Option_Get_User_Option());
|
||||
return new PumpEnactResult().success(true);
|
||||
|
|
Loading…
Reference in a new issue