Fix some warnings

This commit is contained in:
LowPowerLab 2013-10-27 19:53:02 -04:00
parent 759b37b167
commit fd7d0cc4e5
1 changed files with 3 additions and 2 deletions

View File

@ -79,6 +79,7 @@ bool RFM69::initialize(byte freqBand, byte nodeID, byte networkID)
selfPointer = this; selfPointer = this;
_address = nodeID; _address = nodeID;
return true;
} }
void RFM69::setFrequency(uint32_t FRF) void RFM69::setFrequency(uint32_t FRF)
@ -332,7 +333,7 @@ void RFM69::writeReg(byte addr, byte value)
{ {
select(); select();
SPI.transfer(addr | 0x80); SPI.transfer(addr | 0x80);
byte oldregval = SPI.transfer(value); SPI.transfer(value);
unselect(); unselect();
} }