Skip to content

Commit

Permalink
dusting lint
Browse files Browse the repository at this point in the history
  • Loading branch information
biomurph committed Oct 30, 2023
1 parent 2dc0558 commit 28307b3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 25 deletions.
4 changes: 0 additions & 4 deletions src/PulseSensorPlayground.h
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,6 @@
#if defined(ARDUINO_ARCH_NRF52)
#include "Adafruit_TinyUSB.h"
#endif
// #if defined(ARDUINO_ARCH_SAM)
// #include <DueTimer.h>
// DueTimer sampleTimer = Timer.getAvailable();
// #endif
#include <Arduino.h>
#include "utility/PulseSensor.h"
#if USE_SERIAL
Expand Down
22 changes: 1 addition & 21 deletions src/utility/Interrupts.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,7 @@
#define DISABLE_PULSE_SENSOR_INTERRUPTS cli()
#define ENABLE_PULSE_SENSOR_INTERRUPTS sei()
#endif

// #if defined (ARDUINO_ARCH_NRF52840)
// #define TIMER1_INTERVAL_US 2000 // critical fine tuning here!
// NRF52Timer nRF52_Timer(NRF_TIMER_3);
// #endif


// SAVED FOR FUTURE SUPPORT OF TEENSY INTERRUPTS
#if defined(__MK66FX1M0__)||(__MK64FX512__)||(__MK20DX256__)||(__MK20DX128__)
// #include <FlexiTimer2.h>
Expand Down Expand Up @@ -254,14 +249,6 @@ boolean PulseSensorPlaygroundSetupInterrupt(){
result = true;
#endif

// #if defined(ARDUINO_ARCH_RENESAS)
// result = true;
// #endif

// #if defined(ARDUINO_ARCH_SAM)
// result = true;
// #endif

#endif // USE_ARDUINO_INTERRUPTS

return result;
Expand Down Expand Up @@ -496,13 +483,6 @@ return result; // unknown or unsupported platform.
// Interrupts not supported yet for Teensy
#endif

// #if defined(ARDUINO_ARCH_RENESAS)
// void sampleTimerISR(timer_callback_args_t __attribute((unused)) *p_args)
// {
// PulseSensorPlayground::OurThis->onSampleTime();
// }
// #endif


#endif // USE_ARDUINO_INTERRUPTS

Expand Down

0 comments on commit 28307b3

Please sign in to comment.