Cosmetic changes to comments; refresh configuration
This commit is contained in:
parent
0cb456c923
commit
c77426e550
@ -974,6 +974,14 @@ CONFIG_NSH_NETINIT_SIGNO=18
|
||||
CONFIG_NSH_NETINIT_RETRYMSEC=2000
|
||||
CONFIG_NSH_NETINIT_THREAD_STACKSIZE=1568
|
||||
CONFIG_NSH_NETINIT_THREAD_PRIORITY=100
|
||||
|
||||
#
|
||||
# IP Address Configuration
|
||||
#
|
||||
|
||||
#
|
||||
# IPv4 Addresses
|
||||
#
|
||||
CONFIG_NSH_IPADDR=0x0a000002
|
||||
CONFIG_NSH_DRIPADDR=0x0a000001
|
||||
CONFIG_NSH_NETMASK=0xffffff00
|
||||
|
@ -1035,7 +1035,7 @@ ssize_t psock_tcp_send(FAR struct socket *psock, FAR const void *buf,
|
||||
|
||||
psock->s_flags = _SS_SETSTATE(psock->s_flags, _SF_IDLE);
|
||||
|
||||
/* Check for a errors. Errors are signaled by negative errno values
|
||||
/* Check for errors. Errors are signalled by negative errno values
|
||||
* for the send length
|
||||
*/
|
||||
|
||||
|
@ -199,7 +199,7 @@ int net_lockedwait(sem_t *sem)
|
||||
sched_lock(); /* No context switches */
|
||||
if (g_holder == me)
|
||||
{
|
||||
/* Release the uIP semaphore, remembering the count */
|
||||
/* Release the network lock, remembering my count */
|
||||
|
||||
count = g_count;
|
||||
g_holder = NO_HOLDER;
|
||||
@ -210,7 +210,7 @@ int net_lockedwait(sem_t *sem)
|
||||
|
||||
ret = sem_wait(sem);
|
||||
|
||||
/* Recover the uIP semaphore at the proper count */
|
||||
/* Recover the network lock at the proper count */
|
||||
|
||||
_net_takesem();
|
||||
g_holder = me;
|
||||
|
Loading…
x
Reference in New Issue
Block a user