Fixed implementation of channel_clear() function
This commit is contained in:
parent
7de076efb2
commit
4ed4cc51fb
@ -179,5 +179,5 @@ uint16_t cc2420_get_pan(void)
|
||||
|
||||
inline bool channel_clear(void)
|
||||
{
|
||||
return (get_cca() != 0);
|
||||
return (cc2420_get_cca() != 0);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user