diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/qhybrid/adapter/fossil_hr/FossilHRWatchAdapter.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/qhybrid/adapter/fossil_hr/FossilHRWatchAdapter.java index de88ce833..e997d1018 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/qhybrid/adapter/fossil_hr/FossilHRWatchAdapter.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/qhybrid/adapter/fossil_hr/FossilHRWatchAdapter.java @@ -203,6 +203,7 @@ public class FossilHRWatchAdapter extends FossilWatchAdapter { this )); + queueWrite(new FileDeleteRequest((short) 0x0503)); queueWrite(new ImagesSetRequest( widgetImages, this diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/qhybrid/requests/fossil_hr/file/AssetFilePutRequest.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/qhybrid/requests/fossil_hr/file/AssetFilePutRequest.java index dd2935a25..893a8cd49 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/qhybrid/requests/fossil_hr/file/AssetFilePutRequest.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/qhybrid/requests/fossil_hr/file/AssetFilePutRequest.java @@ -11,14 +11,14 @@ import nodomain.freeyourgadget.gadgetbridge.service.devices.qhybrid.utils.String public class AssetFilePutRequest extends FilePutRequest { public AssetFilePutRequest(AssetFile[] files, FossilWatchAdapter adapter) throws IOException { - super((short) 0x0700, prepareFileData(files), adapter); + super((short) 0x0701, prepareFileData(files), adapter); } public AssetFilePutRequest(AssetFile file, FossilWatchAdapter adapter) throws IOException { - super((short) 0x0700, prepareFileData(file), adapter); + super((short) 0x0701, prepareFileData(file), adapter); } public AssetFilePutRequest(AssetFile file, int subHandle, FossilWatchAdapter adapter) throws IOException { - super((short) (0x0700 | subHandle), prepareFileData(file), adapter); + super((short) (0x0701 | subHandle), prepareFileData(file), adapter); } private static byte[] prepareFileData(AssetFile[] files) throws IOException {