1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-08-20 07:21:40 +02:00

Fix off-by-one typo

This commit is contained in:
Erik Johansson
2018-04-19 21:46:52 +02:00
parent 789f23a463
commit 5e974f22e4

View File

@@ -599,7 +599,7 @@ public class BluetoothBeurerSanitas extends BluetoothCommunication {
command[2] = (byte) 0x02; command[2] = (byte) 0x02;
break; break;
case ST: case ST:
command[3] = (byte) 0x04; command[2] = (byte) 0x04;
break; break;
} }
Log.d(TAG, "Setting unit " + selectedUser.getScaleUnit().toString()); Log.d(TAG, "Setting unit " + selectedUser.getScaleUnit().toString());