mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-25 06:23:53 +01:00
native: set net buffer defaults conditionally
This commit is contained in:
parent
7301a895f5
commit
5d606b676d
@ -8,7 +8,7 @@
|
||||
* The effect of calls like nativenet_set_channel depend on the
|
||||
* network layer.
|
||||
*
|
||||
* Copyright (C) 2013 Ludwig Ortmann <ludwig.ortmann@fu-berlin.de>
|
||||
* Copyright (C) 2013, 2014 Ludwig Ortmann <ludwig.ortmann@fu-berlin.de>
|
||||
*
|
||||
* This file is subject to the terms and conditions of the GNU Lesser
|
||||
* General Public License v2.1. See the file LICENSE in the top level
|
||||
@ -30,8 +30,12 @@
|
||||
#include "kernel_types.h"
|
||||
#include "netdev/base.h"
|
||||
|
||||
#ifndef RX_BUF_SIZE
|
||||
#define RX_BUF_SIZE (10)
|
||||
#endif
|
||||
#ifndef TRANSCEIVER_BUFFER_SIZE
|
||||
#define TRANSCEIVER_BUFFER_SIZE (3)
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief Number of registrable netdev_rcv_data_cb_t callbacks per nativenet
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user