Beautified SLIP macros.
This commit is contained in:
parent
79855ff02d
commit
a0134ff35e
|
@ -41,12 +41,12 @@
|
||||||
|
|
||||||
#if WITH_SLIP
|
#if WITH_SLIP
|
||||||
#define DRIVER_PROCESS &slip_process,
|
#define DRIVER_PROCESS &slip_process,
|
||||||
#define SLIP_INIT slip_arch_init(0);
|
#define SLIP_INIT() slip_arch_init(0)
|
||||||
#define SLIP_POLL slip_arch_poll();
|
#define SLIP_POLL() slip_arch_poll()
|
||||||
#else /* WITH_SLIP */
|
#else /* WITH_SLIP */
|
||||||
#define DRIVER_PROCESS ðernet_process,
|
#define DRIVER_PROCESS ðernet_process,
|
||||||
#define SLIP_INIT
|
#define SLIP_INIT()
|
||||||
#define SLIP_POLL
|
#define SLIP_POLL()
|
||||||
#endif /* WITH_SLIP */
|
#endif /* WITH_SLIP */
|
||||||
|
|
||||||
#if WITH_GUI
|
#if WITH_GUI
|
||||||
|
@ -95,7 +95,7 @@ main(void)
|
||||||
|
|
||||||
config_read("contiki.cfg");
|
config_read("contiki.cfg");
|
||||||
|
|
||||||
SLIP_INIT
|
SLIP_INIT();
|
||||||
|
|
||||||
process_init();
|
process_init();
|
||||||
procinit_init();
|
procinit_init();
|
||||||
|
@ -109,7 +109,7 @@ main(void)
|
||||||
|
|
||||||
etimer_request_poll();
|
etimer_request_poll();
|
||||||
|
|
||||||
SLIP_POLL
|
SLIP_POLL();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------------------*/
|
||||||
|
|
Loading…
Reference in a new issue