File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,6 @@ void loop() {
179179 lastBeatSampleNumber[i] = pulseSensor.getLastBeatTime (i);
180180 if (i == 1 ){
181181 PTT = lastBeatSampleNumber[1 ] - lastBeatSampleNumber[0 ];
182- PTT = abs (PTT);
183182 pulseSensor.outputToSerial (' |' ,PTT);
184183 }
185184 }
Original file line number Diff line number Diff line change 11name =PulseSensor Playground
2- version =1.8.0
2+ version =1.8.2
33author =Joel Murphy, Yury Gitman, Brad Needham
44maintainer =Joel Murphy, Yury Gitman
55sentence =Support at PulseSensor.com
Original file line number Diff line number Diff line change @@ -320,10 +320,9 @@ boolean PulseSensorPlaygroundDisableInterrupt(){
320320 result = true;
321321 #endif
322322
323- // #else
324- return result ; // unknown or unsupported platform.
325-
326323#endif
324+
325+ return result ; // unknown or unsupported platform.
327326} // PulseSensorPlaygroundDisableInterrupt
328327
329328
@@ -389,8 +388,9 @@ boolean PulseSensorPlaygroundEnableInterrupt(){
389388 result = true;
390389 #endif
391390
392- return result ; // unknown or unsupported platform.
393391#endif
392+
393+ return result ; // unknown or unsupported platform.
394394}
395395
396396#if USE_ARDUINO_INTERRUPTS
You can’t perform that action at this time.
0 commit comments