mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-08-24 00:00:47 +02:00
pinetime: Fix weather forecast write
Fixes a typo in the weather forecast characteristic writer that causes Gadgetbridge to send the current weather twice rather than sending the forecast.
This commit is contained in:
parent
dbfb8e5c38
commit
b647631c07
@ -1021,7 +1021,7 @@ public class PineTimeJFSupport extends AbstractBTLEDeviceSupport implements DfuL
|
|||||||
TransactionBuilder forecastBuilder = createTransactionBuilder("SimpleWeatherData");
|
TransactionBuilder forecastBuilder = createTransactionBuilder("SimpleWeatherData");
|
||||||
safeWriteToCharacteristic(forecastBuilder,
|
safeWriteToCharacteristic(forecastBuilder,
|
||||||
PineTimeJFConstants.UUID_CHARACTERISTIC_SIMPLE_WEATHER_DATA,
|
PineTimeJFConstants.UUID_CHARACTERISTIC_SIMPLE_WEATHER_DATA,
|
||||||
currentPacket.array());
|
forecastPacket.array());
|
||||||
|
|
||||||
forecastBuilder.queue(getQueue());
|
forecastBuilder.queue(getQueue());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user