mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 06:23:53 +01:00
at86rf2xx_netdev: use DEBUG instead of printf
This commit is contained in:
parent
f570576976
commit
9b01c6dbce
@ -109,8 +109,8 @@ static int _send(netdev2_t *netdev, const struct iovec *vector, int count)
|
||||
for (int i = 0; i < count; i++, ptr++) {
|
||||
/* current packet data + FCS too long */
|
||||
if ((len + ptr->iov_len + 2) > AT86RF2XX_MAX_PKT_LENGTH) {
|
||||
printf("[at86rf2xx] error: packet too large (%u byte) to be send\n",
|
||||
(unsigned)len + 2);
|
||||
DEBUG("[at86rf2xx] error: packet too large (%u byte) to be send\n",
|
||||
(unsigned)len + 2);
|
||||
return -EOVERFLOW;
|
||||
}
|
||||
#ifdef MODULE_NETSTATS_L2
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user