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

Set unit on scale to what is configured by user. (#259)

This commit is contained in:
o0-zzuf-0o
2018-05-07 01:43:46 +09:30
committed by OliE
parent a89d3e74c1
commit ea52c8d7eb

View File

@@ -113,7 +113,7 @@ public class BluetoothMGB extends BluetoothCommunication {
break;
case 6:
writeCfg(0xFE, 6, 1, 0);
writeCfg(0xFE, 6, user.getScaleUnit().toInt(), 0);
break;
default: