mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-19 06:51:57 +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();
|
||||
break;
|
||||
case 8:
|
||||
if (!currentRemoteUser.isNew) {
|
||||
if (currentRemoteUser != null && !currentRemoteUser.isNew) {
|
||||
sendCommand(CMD_DO_MEASUREMENT, encodeUserId(currentRemoteUser));
|
||||
stopMachineState();
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user