mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-26 18:45:49 +01:00
Huami: Fix reminder deletion
This commit is contained in:
parent
33300113a5
commit
a111272143
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user