ludiazv / node-nrf24

nRF24 (nrf24l01/nrfl24l01+) radios in the nodejs way
MIT License
39 stars 15 forks source link

Channel 0 doesn't work #27

Closed Marsu31 closed 3 years ago

Marsu31 commented 3 years ago

Hi !

The channel 0 is not taken into account, it is replaced by default 76. The line 189 in rf24_setup.cc seems to test the range [1;127] instead of [0;126].

Regards.

ludiazv commented 3 years ago

Hi, You are right. Fixed it will be availebe in the next release.

Marsu31 commented 3 years ago

Thank you ! ^^