mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 21:06:50 +01:00
Huami: Fetch SpO2 on devices that support it
This commit is contained in:
parent
5e6d18d413
commit
aeec68aeef
@ -1686,11 +1686,11 @@ public abstract class HuamiSupport extends AbstractBTLEDeviceSupport implements
|
||||
this.fetchOperationQueue.add(new FetchPaiOperation(this));
|
||||
}
|
||||
|
||||
if (Huami2021Coordinator.experimentalFeatures(getDevice())) {
|
||||
if ((dataTypes & RecordedDataTypes.TYPE_SPO2) != 0 && coordinator.supportsSpo2()) {
|
||||
this.fetchOperationQueue.add(new FetchSpo2NormalOperation(this));
|
||||
}
|
||||
if ((dataTypes & RecordedDataTypes.TYPE_SPO2) != 0 && coordinator.supportsSpo2()) {
|
||||
this.fetchOperationQueue.add(new FetchSpo2NormalOperation(this));
|
||||
}
|
||||
|
||||
if (Huami2021Coordinator.experimentalFeatures(getDevice())) {
|
||||
if ((dataTypes & RecordedDataTypes.TYPE_HEART_RATE) != 0 && coordinator.supportsHeartRateStats()) {
|
||||
this.fetchOperationQueue.add(new FetchHeartRateManualOperation(this));
|
||||
this.fetchOperationQueue.add(new FetchHeartRateMaxOperation(this));
|
||||
|
Loading…
Reference in New Issue
Block a user