Skip to content

Commit

Permalink
ShimmerSensor#requestSamplingRateChange can throw SensorException
Browse files Browse the repository at this point in the history
  • Loading branch information
nightscape committed Apr 25, 2019
1 parent 33ab926 commit 825cf44
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 825cf44

Please sign in to comment.