1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-20 12:00:51 +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:
Victor Kareh 2024-02-01 09:00:11 -05:00 committed by José Rebelo
parent dbfb8e5c38
commit b647631c07

View File

@ -1021,7 +1021,7 @@ public class PineTimeJFSupport extends AbstractBTLEDeviceSupport implements DfuL
TransactionBuilder forecastBuilder = createTransactionBuilder("SimpleWeatherData");
safeWriteToCharacteristic(forecastBuilder,
PineTimeJFConstants.UUID_CHARACTERISTIC_SIMPLE_WEATHER_DATA,
currentPacket.array());
forecastPacket.array());
forecastBuilder.queue(getQueue());
}