[SX127x] Removed unnecessary volatile
This commit is contained in:
parent
8d02fda5a1
commit
18fefc0ca9
2 changed files with 2 additions and 2 deletions
|
@ -462,7 +462,7 @@ void SX127x::clearFifoFullAction() {
|
|||
_mod->SPIsetRegValue(RADIOLIB_SX127X_REG_DIO_MAPPING_1, 0x00, 5, 4);
|
||||
}
|
||||
|
||||
bool SX127x::fifoAdd(uint8_t* data, int totalLen, volatile int* remLen) {
|
||||
bool SX127x::fifoAdd(uint8_t* data, int totalLen, int* remLen) {
|
||||
// subtract first (this may be the first time we get to modify the remaining length)
|
||||
*remLen -= RADIOLIB_SX127X_FIFO_THRESH - 1;
|
||||
|
||||
|
|
|
@ -776,7 +776,7 @@ class SX127x: public PhysicalLayer {
|
|||
|
||||
\returns True when a complete packet is sent, false if more data is needed.
|
||||
*/
|
||||
bool fifoAdd(uint8_t* data, int totalLen, volatile int* remLen);
|
||||
bool fifoAdd(uint8_t* data, int totalLen, int* remLen);
|
||||
|
||||
/*!
|
||||
\brief Set interrupt service routine function to call when FIFO is sufficently full to read.
|
||||
|
|
Loading…
Add table
Reference in a new issue