Fix compile error. (insufficient testing!)
This commit is contained in:
parent
b3e7c52fa1
commit
d4ac9cc95a
|
@ -132,7 +132,7 @@ void Mrf24j::set_interrupts(void) {
|
||||||
/** use the 802.15.4 channel numbers..
|
/** use the 802.15.4 channel numbers..
|
||||||
*/
|
*/
|
||||||
void Mrf24j::set_channel(byte channel) {
|
void Mrf24j::set_channel(byte channel) {
|
||||||
write_long(MRF_RFCON0, ((channel - 11) << 4) | 0x03));
|
write_long(MRF_RFCON0, (((channel - 11) << 4) | 0x03));
|
||||||
}
|
}
|
||||||
|
|
||||||
void Mrf24j::init(void) {
|
void Mrf24j::init(void) {
|
||||||
|
|
Loading…
Reference in New Issue