From d4ac9cc95a41a0c3aa0dafa1d9e75bce3a280c1c Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Sun, 13 Mar 2011 19:23:55 +0000 Subject: [PATCH] Fix compile error. (insufficient testing!) --- mrf24j.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mrf24j.cpp b/mrf24j.cpp index 8662f6c..ba8bfaf 100644 --- a/mrf24j.cpp +++ b/mrf24j.cpp @@ -132,7 +132,7 @@ void Mrf24j::set_interrupts(void) { /** use the 802.15.4 channel numbers.. */ 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) {