Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/BlinkTask.h
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,10 @@ class BlinkTask : public Task

byte _outPin;
uint8_t _bitMask;
#ifndef ESP8266
volatile uint8_t *_portRegister;
#else
#if defined(ESP8266) || defined(ARDUINO_ARCH_SAMD)
volatile uint32_t *_portRegister;
#else
volatile uint8_t *_portRegister;
#endif
};

Expand Down
6 changes: 3 additions & 3 deletions src/FrequencyTask.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ class FrequencyTask : public Task
int _outPin;
boolean _stateOn;
uint8_t _bitMask;
#ifndef ESP8266
volatile uint8_t *_portRegister;
#else
#if defined(ESP8266) || defined(ARDUINO_ARCH_SAMD)
volatile uint32_t *_portRegister;
#else
volatile uint8_t *_portRegister;
#endif
static void step(Task* me);
};
Expand Down
6 changes: 3 additions & 3 deletions src/SoftPwmTask.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ class SoftPwmTask : public Task
static void step(Task* me);

uint8_t _bitMask;
#ifndef ESP8266
volatile uint8_t *_portRegister;
#else
#if defined(ESP8266) || defined(ARDUINO_ARCH_SAMD)
volatile uint32_t *_portRegister;
#else
volatile uint8_t *_portRegister;
#endif
};

Expand Down