fake return value to 0 for better range, function rf230_cca have a bug

This commit is contained in:
Harald Pichler 2016-08-19 18:18:09 +02:00
parent 1d2447d69d
commit a70a51acc2

View file

@ -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: