mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-21 07:51:46 +02:00
check if remote user is not null see #470
This commit is contained in:
@@ -234,7 +234,7 @@ public class BluetoothBeurerSanitas extends BluetoothCommunication {
|
|||||||
stopMachineState();
|
stopMachineState();
|
||||||
break;
|
break;
|
||||||
case 8:
|
case 8:
|
||||||
if (!currentRemoteUser.isNew) {
|
if (currentRemoteUser != null && !currentRemoteUser.isNew) {
|
||||||
sendCommand(CMD_DO_MEASUREMENT, encodeUserId(currentRemoteUser));
|
sendCommand(CMD_DO_MEASUREMENT, encodeUserId(currentRemoteUser));
|
||||||
stopMachineState();
|
stopMachineState();
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user