increased log buffer size with uIP SLIP
This commit is contained in:
parent
d8f31b6630
commit
bf1920386a
1 changed files with 8 additions and 1 deletions
|
@ -26,7 +26,7 @@
|
||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Id: log.c,v 1.6 2008/10/05 15:40:27 fros4943 Exp $
|
* $Id: log.c,v 1.7 2009/10/19 18:00:49 fros4943 Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -36,7 +36,14 @@
|
||||||
#include "lib/simEnvChange.h"
|
#include "lib/simEnvChange.h"
|
||||||
|
|
||||||
#define IMPLEMENT_PRINTF 1
|
#define IMPLEMENT_PRINTF 1
|
||||||
|
|
||||||
|
#if WITH_UIP
|
||||||
|
/* uIP packets via SLIP */
|
||||||
|
#include "uip.h"
|
||||||
|
#define MAX_LOG_LENGTH (2*UIP_BUFSIZE)
|
||||||
|
#else /* WITH_UIP */
|
||||||
#define MAX_LOG_LENGTH 1024
|
#define MAX_LOG_LENGTH 1024
|
||||||
|
#endif /* WITH_UIP */
|
||||||
|
|
||||||
const struct simInterface simlog_interface;
|
const struct simInterface simlog_interface;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue