fake return value to 0 for better range, function rf230_cca have a bug
This commit is contained in:
parent
1d2447d69d
commit
a70a51acc2
|
@ -1796,7 +1796,8 @@ rf230_cca(void)
|
||||||
// if (cca & 0x40) {/*DEBUGFLOW('3')*/;} else {rf230_pending=1;DEBUGFLOW('4');}
|
// if (cca & 0x40) {/*DEBUGFLOW('3')*/;} else {rf230_pending=1;DEBUGFLOW('4');}
|
||||||
if (cca & 0x40) {
|
if (cca & 0x40) {
|
||||||
// DEBUGFLOW('5');
|
// DEBUGFLOW('5');
|
||||||
return 1;
|
// return 1;
|
||||||
|
return 0;
|
||||||
} else {
|
} else {
|
||||||
// DEBUGFLOW('6');
|
// DEBUGFLOW('6');
|
||||||
busyexit:
|
busyexit:
|
||||||
|
|
Loading…
Reference in a new issue