Skip to content

Commit

Permalink
change locking mechanism in patch to transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
caveman99 authored Jun 12, 2022
1 parent 08989ff commit 1ebf420
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Module.h
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ class Module {
\param numBytes Number of bytes to transfer.
*/
virtual void SPItransfer(uint8_t cmd, uint8_t reg, uint8_t* dataOut, uint8_t* dataIn, uint8_t numBytes);
void SPItransfer(uint8_t cmd, uint8_t reg, uint8_t* dataOut, uint8_t* dataIn, uint8_t numBytes);

// pin number access methods

Expand Down Expand Up @@ -361,9 +361,9 @@ class Module {
// helper functions to set up SPI overrides on Arduino
#if defined(RADIOLIB_BUILD_ARDUINO)
void SPIbegin();
void SPIbeginTransaction();
virtual void SPIbeginTransaction();
uint8_t SPItransfer(uint8_t b);
void SPIendTransaction();
virtual void SPIendTransaction();
void SPIend();
#endif

Expand Down

0 comments on commit 1ebf420

Please sign in to comment.