From 4ed4cc51fbdf721a584b24a10758d37fde46279c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Roussel?= Date: Wed, 9 Apr 2014 10:38:44 +0200 Subject: [PATCH] Fixed implementation of channel_clear() function --- drivers/cc2420/cc2420.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cc2420/cc2420.c b/drivers/cc2420/cc2420.c index c437ba096a..61dc539246 100644 --- a/drivers/cc2420/cc2420.c +++ b/drivers/cc2420/cc2420.c @@ -179,5 +179,5 @@ uint16_t cc2420_get_pan(void) inline bool channel_clear(void) { - return (get_cca() != 0); + return (cc2420_get_cca() != 0); }