Skip to content

Commit d703822

Browse files
committed
ShimmerSensor#requestSamplingRateChange can throw SensorException
1 parent 04eac98 commit d703822

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SensorLib/sls-shimmer/src/main/java/de/fau/sensorlib/sensors/ShimmerSensor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ private ShimmerDataFrame parseDataMessage(Message msg) {
444444
}
445445

446446
@Override
447-
public boolean requestSamplingRateChange(double toSamplingRate) {
447+
public boolean requestSamplingRateChange(double toSamplingRate) throws SensorException {
448448
// if we are streaming we can't change the sampling rate
449449
if (getState().ordinal() >= SensorState.STREAMING.ordinal())
450450
return false;

0 commit comments

Comments
 (0)