From 825cf44058cd8aed73d4256e3891ffba39b036dc Mon Sep 17 00:00:00 2001 From: Martin Mauch Date: Sat, 16 Mar 2019 01:28:22 +0100 Subject: [PATCH] ShimmerSensor#requestSamplingRateChange can throw SensorException --- .../src/main/java/de/fau/sensorlib/sensors/ShimmerSensor.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SensorLib/sls-shimmer/src/main/java/de/fau/sensorlib/sensors/ShimmerSensor.java b/SensorLib/sls-shimmer/src/main/java/de/fau/sensorlib/sensors/ShimmerSensor.java index 297ae364..c8529f8f 100644 --- a/SensorLib/sls-shimmer/src/main/java/de/fau/sensorlib/sensors/ShimmerSensor.java +++ b/SensorLib/sls-shimmer/src/main/java/de/fau/sensorlib/sensors/ShimmerSensor.java @@ -444,7 +444,7 @@ private ShimmerDataFrame parseDataMessage(Message msg) { } @Override - public boolean requestSamplingRateChange(double toSamplingRate) { + public boolean requestSamplingRateChange(double toSamplingRate) throws SensorException { // if we are streaming we can't change the sampling rate if (getState().ordinal() >= SensorState.STREAMING.ordinal()) return false;