Fix compile error. (insufficient testing!)

This commit is contained in:
Karl Palsson 2011-03-13 19:23:55 +00:00
parent b3e7c52fa1
commit d4ac9cc95a
1 changed files with 1 additions and 1 deletions

View File

@ -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) {