mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-26 03:16:18 +00:00
PPP, documentation: fix notify phase callback documentation
A little grammar fix and an indentation fix in example code.
This commit is contained in:
parent
a12c149093
commit
d362e167c0
@ -437,8 +437,8 @@ up(running) and down(dead) events.
|
||||
|
||||
Notify phase callback can be used, for example, to set a LED pattern depending
|
||||
on the current phase of the PPP session. Here is a callback example which
|
||||
try to mimics what we usually see on xDSL modems while they are negotiating the
|
||||
link, which should be self-explanatory:
|
||||
tries to mimic what we usually see on xDSL modems while they are negotiating
|
||||
the link, which should be self-explanatory:
|
||||
|
||||
static void ppp_notify_phase_cb(ppp_pcb *pcb, u8_t phase, void *ctx) {
|
||||
switch (phase) {
|
||||
|
Loading…
Reference in New Issue
Block a user