1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-11-28 21:06:50 +01:00

Fix typo.

This commit is contained in:
Sebastian Kranz 2018-07-11 06:49:01 +02:00
parent 8eff50344b
commit f3264fab0a

View File

@ -743,7 +743,7 @@ public class ZeTimeDeviceSupport extends AbstractBTLEDeviceSupport {
handleSleepData(data);
break;
case ZeTimeConstants.CMD_GET_HEARTRATE_EXDATA:
handleHeatRateData(data);
handleHeartRateData(data);
break;
case ZeTimeConstants.CMD_MUSIC_CONTROL:
handleMusicControl(data);
@ -1052,7 +1052,7 @@ public class ZeTimeDeviceSupport extends AbstractBTLEDeviceSupport {
}
}
private void handleHeatRateData(byte[] msg)
private void handleHeartRateData(byte[] msg)
{
ZeTimeActivitySample sample = new ZeTimeActivitySample();
sample.setHeartRate(msg[11]);