Merge pull request #2118 from oliverschmidt/master

Made rest of Microsoft-specific chat optional.
This commit is contained in:
Oliver Schmidt 2017-02-24 20:53:55 +01:00 committed by GitHub
commit a38cfc889e

View file

@ -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) {
/* /*