mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-02-17 04:46:47 +01:00
Garmin V1: Ignore null messages
This commit is contained in:
parent
721631d935
commit
d024cd69f2
@ -59,6 +59,9 @@ public class CommunicatorV1 implements ICommunicator {
|
||||
|
||||
@Override
|
||||
public void sendMessage(final String taskName, final byte[] message) {
|
||||
if (null == message)
|
||||
return;
|
||||
|
||||
final byte[] payload = cobsCoDec.encode(message);
|
||||
|
||||
final TransactionBuilder builder = new TransactionBuilder(taskName);
|
||||
|
Loading…
x
Reference in New Issue
Block a user