PPP, Documentation, fixed mistake about pppos_input_sys

Woops, pppos_input_sys is an internal function which must not be called
from lwIP user application. The correct function to use is
pppos_input_tcpip.
This commit is contained in:
Sylvain Rochet 2016-01-18 12:44:08 +01:00
parent 80375e68dd
commit 1ee574944c

View File

@ -318,7 +318,7 @@ ppp_free(ppp);
===================================================== =====================================================
Received data on serial port should be sent to lwIP using the pppos_input() Received data on serial port should be sent to lwIP using the pppos_input()
function or the pppos_input_sys() function. function or the pppos_input_tcpip() function.
If NO_SYS is 1 and if PPP_INPROC_IRQ_SAFE is 0 (the default), pppos_input() If NO_SYS is 1 and if PPP_INPROC_IRQ_SAFE is 0 (the default), pppos_input()
is not IRQ safe and then *MUST* only be called inside your main loop. is not IRQ safe and then *MUST* only be called inside your main loop.