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 Mar 16, 2019
1 parent 04eac98 commit d703822
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 d703822

Please sign in to comment.