Skip to content

Commit

Permalink
make rwreg volatile typedef to avoid conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
ladyada committed Dec 9, 2021
1 parent 649d030 commit 5465ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utility/CPlay_CapacitiveSensor.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#if defined(ARDUINO_NRF52840_CIRCUITPLAY)
#define RwReg uint32_t
#elif defined(__AVR__)
#define RwReg uint8_t
typedef volatile uint8_t RwReg;
#endif


Expand Down

0 comments on commit 5465ef9

Please sign in to comment.