Fixed implementation of channel_clear() function

This commit is contained in:
Kévin Roussel 2014-04-09 10:38:44 +02:00
parent 7de076efb2
commit 4ed4cc51fb

View File

@ -179,5 +179,5 @@ uint16_t cc2420_get_pan(void)
inline bool channel_clear(void)
{
return (get_cca() != 0);
return (cc2420_get_cca() != 0);
}