Skip to content

Commit 731c751

Browse files
rveerama1jukkar
authored andcommitted
drivers: cc2520: Change debug information
Driver is 'Busy' can be a warning message which can be enabled with minimum debug level CONFIG_SYS_LOG_IEEE802154_DRIVER_LEVEL=2. Signed-off-by: Ravi kumar Veeramally <[email protected]>
1 parent ed2fcae commit 731c751

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/ieee802154/ieee802154_cc2520.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ static int cc2520_cca(struct device *dev)
760760
struct cc2520_context *cc2520 = dev->driver_data;
761761

762762
if (!get_cca(cc2520)) {
763-
SYS_LOG_DBG("Busy");
763+
SYS_LOG_WRN("Busy");
764764
return -EBUSY;
765765
}
766766

@@ -851,7 +851,7 @@ static int cc2520_set_txpower(struct device *dev, s16_t dbm)
851851

852852
return 0;
853853
error:
854-
SYS_LOG_DBG("Failed");
854+
SYS_LOG_ERR("Failed");
855855
return -EIO;
856856
}
857857

0 commit comments

Comments
 (0)