Skip to content

Commit aa5007a

Browse files
authored
Merge pull request #43 from biomurph/master
overcorrection of previous bug
2 parents cdbe98a + 8b07912 commit aa5007a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PulseSensorPlayground.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ void PulseSensorPlayground::setOutputType(byte outputType) {
191191

192192
void PulseSensorPlayground::setThreshold(int threshold, int sensorIndex) {
193193
if (sensorIndex != constrain(sensorIndex, 0, SensorCount)) {
194-
return -1; // out of range.
194+
return; // out of range.
195195
}
196196
Sensors[sensorIndex].setThreshold(threshold);
197197
}

0 commit comments

Comments
 (0)