- change log
This commit is contained in:
parent
3fde3a03a8
commit
238b466c24
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ public class RFSpy {
|
||||||
if (result.resultCode == BLECommOperationResult.RESULT_SUCCESS) {
|
if (result.resultCode == BLECommOperationResult.RESULT_SUCCESS) {
|
||||||
if (ArrayUtils.isNotEmpty(result.value)) {
|
if (ArrayUtils.isNotEmpty(result.value)) {
|
||||||
int value = result.value[0];
|
int value = result.value[0];
|
||||||
aapsLogger.debug(LTag.PUMPBTCOMM, "BLE battery level: " + value);
|
aapsLogger.debug(LTag.PUMPBTCOMM, "getBatteryLevel response received: " + value);
|
||||||
return value;
|
return value;
|
||||||
} else {
|
} else {
|
||||||
aapsLogger.error(LTag.PUMPBTCOMM, "getBatteryLevel received an empty result. Value: " + result.value);
|
aapsLogger.error(LTag.PUMPBTCOMM, "getBatteryLevel received an empty result. Value: " + result.value);
|
||||||
|
|
Loading…
Reference in a new issue