1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-25 19:36:50 +01:00

Huami: Fix reminder deletion

This commit is contained in:
José Rebelo 2021-12-12 10:48:22 +00:00
parent 33300113a5
commit a111272143

View File

@ -837,7 +837,7 @@ public class HuamiSupport extends AbstractBTLEDeviceSupport {
if (reminder == null) {
// Delete reminder
writeToChunked(builder, 3, new byte[]{(byte) (position & 0xFF), 0, 0, 0, 0, 0});
writeToChunked(builder, 2, new byte[]{(byte) 0x0b, (byte) (position & 0xFF), 0x08, 0, 0, 0, 0});
return;
}