mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-21 19:29:18 +00:00
Made rest of Microsoft-specific chat optional.
Made code rest of the code in the SLIP driver optional that takes care of the Microsoft-specific CLIENT / SERVER / CLIENTSERVER chat.
This commit is contained in:
parent
a26ee64dc0
commit
be9711d92e
@ -425,11 +425,13 @@ slip_input_byte(unsigned char c)
|
|||||||
}
|
}
|
||||||
rxbuf[cur_end] = c;
|
rxbuf[cur_end] = c;
|
||||||
|
|
||||||
|
#ifdef SLIP_CONF_MICROSOFT_CHAT
|
||||||
/* There could be a separate poll routine for this. */
|
/* There could be a separate poll routine for this. */
|
||||||
if(c == 'T' && rxbuf[begin] == 'C') {
|
if(c == 'T' && rxbuf[begin] == 'C') {
|
||||||
process_poll(&slip_process);
|
process_poll(&slip_process);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
#endif /* SLIP_CONF_MICROSOFT_CHAT */
|
||||||
|
|
||||||
if(c == SLIP_END) {
|
if(c == SLIP_END) {
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user