1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-24 15:43:46 +02:00

UM25: fix missing firmware version

This commit is contained in:
Daniel Dakhno 2022-06-24 13:13:12 +02:00
parent 0349b2530f
commit 45512efeb7

View File

@ -94,6 +94,8 @@ public class UM25Support extends UM25BaseSupport {
readPreferences(); readPreferences();
getDevice().setFirmwareVersion("1.0");
return builder return builder
.add(new SetDeviceStateAction(getDevice(), GBDevice.State.INITIALIZING, getContext())) .add(new SetDeviceStateAction(getDevice(), GBDevice.State.INITIALIZING, getContext()))
.notify(getCharacteristic(UUID.fromString(UUID_CHAR)), true) .notify(getCharacteristic(UUID.fromString(UUID_CHAR)), true)