Fix minor typos
This commit is contained in:
parent
13a5fd8803
commit
e596d5104d
2 changed files with 3 additions and 3 deletions
|
@ -350,7 +350,7 @@ void uip_setipid(uint16_t id);
|
|||
* Periodic processing for a connection identified by its number.
|
||||
*
|
||||
* This function does the necessary periodic processing (timers,
|
||||
* polling) for a uIP TCP conneciton, and should be called when the
|
||||
* polling) for a uIP TCP connection, and should be called when the
|
||||
* periodic uIP timer goes off. It should be called for every
|
||||
* connection, regardless of whether they are open of closed.
|
||||
*
|
||||
|
|
|
@ -267,7 +267,7 @@ do_event(void)
|
|||
receiver = events[fevent].p;
|
||||
|
||||
/* Since we have seen the new event, we move pointer upwards
|
||||
and decrese the number of events. */
|
||||
and decrease the number of events. */
|
||||
fevent = (fevent + 1) % PROCESS_CONF_NUMEVENTS;
|
||||
--nevents;
|
||||
|
||||
|
@ -337,7 +337,7 @@ process_post(struct process *p, process_event_t ev, process_data_t data)
|
|||
if(p == PROCESS_BROADCAST) {
|
||||
printf("soft panic: event queue is full when broadcast event %d was posted from %s\n", ev, PROCESS_NAME_STRING(process_current));
|
||||
} else {
|
||||
printf("soft panic: event queue is full when event %d was posted to %s frpm %s\n", ev, PROCESS_NAME_STRING(p), PROCESS_NAME_STRING(process_current));
|
||||
printf("soft panic: event queue is full when event %d was posted to %s from %s\n", ev, PROCESS_NAME_STRING(p), PROCESS_NAME_STRING(process_current));
|
||||
}
|
||||
#endif /* DEBUG */
|
||||
return PROCESS_ERR_FULL;
|
||||
|
|
Loading…
Reference in a new issue