Skip to content

Commit f0ce923

Browse files
authored
Merge pull request #83 from ShimmerEngineering/ASM-2200
ASM-2200 added static method to check for PPG chip
2 parents 5d27b87 + bb4f7cb commit f0ce923

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

ShimmerDriver/src/main/java/com/shimmerresearch/verisense/VerisenseDevice.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1122,7 +1122,10 @@ public boolean isEitherLsm6ds3ChannelEnabled() {
11221122
}
11231123

11241124
public boolean doesHwSupportMax86xxx() {
1125-
int hwId = getHardwareVersion();
1125+
return doesHwSupportMax86xxx(getHardwareVersion());
1126+
}
1127+
1128+
public static boolean doesHwSupportMax86xxx(int hwId) {
11261129
return (hwId==HW_ID.VERISENSE_DEV_BRD || hwId==HW_ID.VERISENSE_PPG || hwId==HW_ID.VERISENSE_PULSE_PLUS);
11271130
}
11281131

0 commit comments

Comments
 (0)