Fix lots of occurrences of 'the the', 'the there', 'the these', 'the then', 'the they.
This commit is contained in:
parent
114a1d2846
commit
13911d9b17
@ -176,7 +176,7 @@
|
|||||||
* examples/Telnetd: Add a test for the new Telnet daemon.
|
* examples/Telnetd: Add a test for the new Telnet daemon.
|
||||||
* examples/Telnetd/telnetd_driver.c: Move the internal socket structure from
|
* examples/Telnetd/telnetd_driver.c: Move the internal socket structure from
|
||||||
the daemon's socket array into the driver's state data so that it will be
|
the daemon's socket array into the driver's state data so that it will be
|
||||||
independent from the the Telnetd daemon.
|
independent from the Telnetd daemon.
|
||||||
* apps/system/readline: Moved the old nuttx/lib/stdio/lib_fgets.c here
|
* apps/system/readline: Moved the old nuttx/lib/stdio/lib_fgets.c here
|
||||||
and renamed it as readline(). The old fgets was simplied and the overloaded
|
and renamed it as readline(). The old fgets was simplied and the overloaded
|
||||||
readline functionality was removed.
|
readline functionality was removed.
|
||||||
|
@ -132,7 +132,7 @@ examples/bridge
|
|||||||
networks was performed externally prior to the time that this test was
|
networks was performed externally prior to the time that this test was
|
||||||
started. Otherwise, the following options are available:
|
started. Otherwise, the following options are available:
|
||||||
|
|
||||||
CONFIG_EXAMPLES_BRIDGE_NETn_NOMAC - Select of the the network n hardware
|
CONFIG_EXAMPLES_BRIDGE_NETn_NOMAC - Select of the network n hardware
|
||||||
does not have a built-in MAC address. If selected, the MAC address
|
does not have a built-in MAC address. If selected, the MAC address
|
||||||
provided by CONFIG_EXAMPLES_BRIDGE_NETn_MACADDR will be used to assign
|
provided by CONFIG_EXAMPLES_BRIDGE_NETn_MACADDR will be used to assign
|
||||||
the MAC address to the network n device.
|
the MAC address to the network n device.
|
||||||
@ -380,7 +380,7 @@ examples/elf
|
|||||||
size of the ELF binaries are using the 'objcopy --strip-unneeded' command to
|
size of the ELF binaries are using the 'objcopy --strip-unneeded' command to
|
||||||
remove un-necessary information from the ELF files.
|
remove un-necessary information from the ELF files.
|
||||||
|
|
||||||
5. Simulator. You cannot use this example with the the NuttX simulator on
|
5. Simulator. You cannot use this example with the NuttX simulator on
|
||||||
Cygwin. That is because the Cygwin GCC does not generate ELF file but
|
Cygwin. That is because the Cygwin GCC does not generate ELF file but
|
||||||
rather some Windows-native binary format.
|
rather some Windows-native binary format.
|
||||||
|
|
||||||
@ -676,7 +676,7 @@ examples/i2cchar
|
|||||||
CONFIG_EXAMPLES_I2SCHAR_BUFSIZE - The size of the data payload in one
|
CONFIG_EXAMPLES_I2SCHAR_BUFSIZE - The size of the data payload in one
|
||||||
audio buffer. Applies to both TX and RX audio buffers.
|
audio buffer. Applies to both TX and RX audio buffers.
|
||||||
CONFIG_EXAMPLES_I2SCHAR_DEVINIT - Define if architecture-specific I2S
|
CONFIG_EXAMPLES_I2SCHAR_DEVINIT - Define if architecture-specific I2S
|
||||||
device initialize is available. If defined, the the platform specific
|
device initialize is available. If defined, the platform specific
|
||||||
code must provide a function i2schar_devinit() that will be called
|
code must provide a function i2schar_devinit() that will be called
|
||||||
each time that this test executes. Not available in the kernel build
|
each time that this test executes. Not available in the kernel build
|
||||||
mode.
|
mode.
|
||||||
@ -818,7 +818,7 @@ examples/module
|
|||||||
size of the ELF binaries are using the 'objcopy --strip-unneeded' command to
|
size of the ELF binaries are using the 'objcopy --strip-unneeded' command to
|
||||||
remove un-necessary information from the ELF files.
|
remove un-necessary information from the ELF files.
|
||||||
|
|
||||||
5. Simulator. You cannot use this example with the the NuttX simulator on
|
5. Simulator. You cannot use this example with the NuttX simulator on
|
||||||
Cygwin. That is because the Cygwin GCC does not generate ELF file but
|
Cygwin. That is because the Cygwin GCC does not generate ELF file but
|
||||||
rather some Windows-native binary format.
|
rather some Windows-native binary format.
|
||||||
|
|
||||||
@ -1603,7 +1603,7 @@ examples/posix_spawn
|
|||||||
size of the ELF binaries are using the 'objcopy --strip-unneeded' command to
|
size of the ELF binaries are using the 'objcopy --strip-unneeded' command to
|
||||||
remove un-necessary information from the ELF files.
|
remove un-necessary information from the ELF files.
|
||||||
|
|
||||||
5. Simulator. You cannot use this example with the the NuttX simulator on
|
5. Simulator. You cannot use this example with the NuttX simulator on
|
||||||
Cygwin. That is because the Cygwin GCC does not generate ELF file but
|
Cygwin. That is because the Cygwin GCC does not generate ELF file but
|
||||||
rather some Windows-native binary format.
|
rather some Windows-native binary format.
|
||||||
|
|
||||||
@ -1900,7 +1900,7 @@ examples/sotest
|
|||||||
size of the ELF binaries are using the 'objcopy --strip-unneeded' command to
|
size of the ELF binaries are using the 'objcopy --strip-unneeded' command to
|
||||||
remove un-necessary information from the ELF files.
|
remove un-necessary information from the ELF files.
|
||||||
|
|
||||||
5. Simulator. You cannot use this example with the the NuttX simulator on
|
5. Simulator. You cannot use this example with the NuttX simulator on
|
||||||
Cygwin. That is because the Cygwin GCC does not generate ELF file but
|
Cygwin. That is because the Cygwin GCC does not generate ELF file but
|
||||||
rather some Windows-native binary format.
|
rather some Windows-native binary format.
|
||||||
|
|
||||||
|
@ -147,7 +147,7 @@ static void hidkbd_decode(FAR char *buffer, ssize_t nbytes)
|
|||||||
kbdstream.nbytes = nbytes;
|
kbdstream.nbytes = nbytes;
|
||||||
|
|
||||||
/* Loop until all of the bytes have been consumed. We implicitly assume
|
/* Loop until all of the bytes have been consumed. We implicitly assume
|
||||||
* that the the escaped sequences do not cross buffer boundaries. That
|
* that the escaped sequences do not cross buffer boundaries. That
|
||||||
* might be true if the read buffer were small or the data rates high.
|
* might be true if the read buffer were small or the data rates high.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ config EXAMPLES_I2SCHAR_DEVINIT
|
|||||||
depends on !BUILD_PROTECTED && !BUILD_KERNEL
|
depends on !BUILD_PROTECTED && !BUILD_KERNEL
|
||||||
---help---
|
---help---
|
||||||
Define if architecture-specific I2S device initialize is available.
|
Define if architecture-specific I2S device initialize is available.
|
||||||
If defined, the the platform specific code must provide a function
|
If defined, the platform specific code must provide a function
|
||||||
i2schar_devinit() that will be called each time that this test
|
i2schar_devinit() that will be called each time that this test
|
||||||
executes. Not available in the kernel build mode.
|
executes. Not available in the kernel build mode.
|
||||||
|
|
||||||
|
@ -141,7 +141,7 @@ static void keypad_decode(FAR char *buffer, ssize_t nbytes)
|
|||||||
kbdstream.nbytes = nbytes;
|
kbdstream.nbytes = nbytes;
|
||||||
|
|
||||||
/* Loop until all of the bytes have been consumed. We implicitly assume
|
/* Loop until all of the bytes have been consumed. We implicitly assume
|
||||||
* that the the escaped sequences do not cross buffer boundaries. That
|
* that the escaped sequences do not cross buffer boundaries. That
|
||||||
* might be true if the read buffer were small or the data rates high.
|
* might be true if the read buffer were small or the data rates high.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ config EXAMPLES_MEDIA_DEVPATH
|
|||||||
string "Character driver path"
|
string "Character driver path"
|
||||||
default "/dev/mtd0"
|
default "/dev/mtd0"
|
||||||
---help---
|
---help---
|
||||||
This is the full path to the the character driver that is used to
|
This is the full path to the character driver that is used to
|
||||||
access the media. This test is suitable for use EEPROM character
|
access the media. This test is suitable for use EEPROM character
|
||||||
drivers (see nuttx/drivers/eeprom), or with block drivers wrapped as
|
drivers (see nuttx/drivers/eeprom), or with block drivers wrapped as
|
||||||
character drivers (see nuttx/drivers/bch)
|
character drivers (see nuttx/drivers/bch)
|
||||||
|
@ -160,7 +160,7 @@ int nsh_main(int argc, char *argv[])
|
|||||||
ret = nsh_telnetstart();
|
ret = nsh_telnetstart();
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
/* The daemon is NOT running. Report the the error then fail...
|
/* The daemon is NOT running. Report the error then fail...
|
||||||
* either with the serial console up or just exiting.
|
* either with the serial console up or just exiting.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -366,7 +366,7 @@ void nxhello_hello(NXWINDOW hwnd)
|
|||||||
* you would need to handle that event.
|
* you would need to handle that event.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Get a position so the the "Hello, World!" string will be centered on the
|
/* Get a position so the "Hello, World!" string will be centered on the
|
||||||
* display.
|
* display.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -237,7 +237,7 @@ int nxterm_main(int argc, char **argv)
|
|||||||
ret = nsh_telnetstart();
|
ret = nsh_telnetstart();
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
/* The daemon is NOT running. Report the the error then fail...
|
/* The daemon is NOT running. Report the error then fail...
|
||||||
* either with the serial console up or just exiting.
|
* either with the serial console up or just exiting.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -361,7 +361,7 @@ int nxterm_main(int argc, char **argv)
|
|||||||
|
|
||||||
/* Start Console Task *****************************************************/
|
/* Start Console Task *****************************************************/
|
||||||
/* Now re-direct stdout and stderr so that they use the NX console driver.
|
/* Now re-direct stdout and stderr so that they use the NX console driver.
|
||||||
* Note that stdin is retained (file descriptor 0, probably the the serial console).
|
* Note that stdin is retained (file descriptor 0, probably the serial console).
|
||||||
*/
|
*/
|
||||||
|
|
||||||
printf("nxterm_main: Starting the console task\n");
|
printf("nxterm_main: Starting the console task\n");
|
||||||
|
@ -391,7 +391,7 @@ void mqueue_test(void)
|
|||||||
(int)((intptr_t)result));
|
(int)((intptr_t)result));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Message queues are global resources and persist for the life the the
|
/* Message queues are global resources and persist for the life the
|
||||||
* task group. The message queue opened by the sender_thread must be closed
|
* task group. The message queue opened by the sender_thread must be closed
|
||||||
* since the sender pthread may have been canceled and may have left the
|
* since the sender pthread may have been canceled and may have left the
|
||||||
* message queue open.
|
* message queue open.
|
||||||
|
@ -216,7 +216,7 @@ void sporadic_test(void)
|
|||||||
#if CONFIG_SCHED_SPORADIC_MAXREPL < 5
|
#if CONFIG_SCHED_SPORADIC_MAXREPL < 5
|
||||||
printf("sporadic_test: CONFIG_SCHED_SPORADIC_MAXREPL is small: %d\n",
|
printf("sporadic_test: CONFIG_SCHED_SPORADIC_MAXREPL is small: %d\n",
|
||||||
CONFIG_SCHED_SPORADIC_MAXREPL);
|
CONFIG_SCHED_SPORADIC_MAXREPL);
|
||||||
printf(" -- There will some errors in the the replenishment interval\n");
|
printf(" -- There will some errors in the replenishment interval\n");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
printf("sporadic_test: Initializing semaphore to 0\n");
|
printf("sporadic_test: Initializing semaphore to 0\n");
|
||||||
|
@ -435,7 +435,7 @@ static FAR char *
|
|||||||
|
|
||||||
iniinfo("varinfo.variable=\"%s\"\n", varinfo.variable);
|
iniinfo("varinfo.variable=\"%s\"\n", varinfo.variable);
|
||||||
|
|
||||||
/* Does the the variable name match the one we are looking for? */
|
/* Does the variable name match the one we are looking for? */
|
||||||
|
|
||||||
if (strcasecmp(varinfo.variable, variable) == 0)
|
if (strcasecmp(varinfo.variable, variable) == 0)
|
||||||
{
|
{
|
||||||
|
@ -187,7 +187,7 @@ trv_coord_t trv_rayclip_player_xmotion(FAR struct trv_camera_s *pov,
|
|||||||
|
|
||||||
/* The tangent is equal to the rate of change of Y with
|
/* The tangent is equal to the rate of change of Y with
|
||||||
* respect to the X-axis. The tangent is stored at
|
* respect to the X-axis. The tangent is stored at
|
||||||
* double the the "normal" scaling -- so deltay is
|
* double the "normal" scaling -- so deltay is
|
||||||
* "triple" precision
|
* "triple" precision
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -281,7 +281,7 @@ trv_coord_t trv_rayclip_player_xmotion(FAR struct trv_camera_s *pov,
|
|||||||
|
|
||||||
/* The negative tangent is equal to the rate of change
|
/* The negative tangent is equal to the rate of change
|
||||||
* of Y with respect to the X-axis.The tangent is
|
* of Y with respect to the X-axis.The tangent is
|
||||||
* stored at double the the "normal" scaling -- so
|
* stored at double the "normal" scaling -- so
|
||||||
* deltay is "triple" precision
|
* deltay is "triple" precision
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -436,7 +436,7 @@ trv_coord_t trv_rayclip_player_ymotion(FAR struct trv_camera_s *pov,
|
|||||||
|
|
||||||
/* The inverted tangent is equal to the rate of change
|
/* The inverted tangent is equal to the rate of change
|
||||||
* of X with respect to the Y-axis. The cotangent is
|
* of X with respect to the Y-axis. The cotangent is
|
||||||
* stored at double the the "normal" scaling -- so
|
* stored at double the "normal" scaling -- so
|
||||||
* deltax is "triple" precision
|
* deltax is "triple" precision
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -530,7 +530,7 @@ trv_coord_t trv_rayclip_player_ymotion(FAR struct trv_camera_s *pov,
|
|||||||
|
|
||||||
/* The negative inverted tangent is equal to the rate
|
/* The negative inverted tangent is equal to the rate
|
||||||
* of change of X with respect to the Y-axis. The
|
* of change of X with respect to the Y-axis. The
|
||||||
* cotangent is stored at double the the "normal"
|
* cotangent is stored at double the "normal"
|
||||||
* scaling -- so deltax is "triple" precision
|
* scaling -- so deltax is "triple" precision
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -584,8 +584,8 @@ trv_coord_t trv_ray_adjust_zpos(FAR struct trv_camera_s *pov,
|
|||||||
struct trv_rect_data_s *rect; /* Points to the rectangle data */
|
struct trv_rect_data_s *rect; /* Points to the rectangle data */
|
||||||
|
|
||||||
/* We will place the player's feet at the largest Z plane
|
/* We will place the player's feet at the largest Z plane
|
||||||
* which is lower the the player's eye level. We traverse
|
* which is lower the player's eye level. We traverse
|
||||||
* the the g_zplane list in order of increase Z values
|
* the g_zplane list in order of increase Z values
|
||||||
*/
|
*/
|
||||||
|
|
||||||
for (list = g_zplane.head; list; list = list->flink)
|
for (list = g_zplane.head; list; list = list->flink)
|
||||||
@ -607,7 +607,7 @@ trv_coord_t trv_ray_adjust_zpos(FAR struct trv_camera_s *pov,
|
|||||||
if (pov->x >= rect->hstart && pov->x <= rect->hend &&
|
if (pov->x >= rect->hstart && pov->x <= rect->hend &&
|
||||||
pov->y >= rect->vstart && pov->y <= rect->vend)
|
pov->y >= rect->vstart && pov->y <= rect->vend)
|
||||||
{
|
{
|
||||||
/* We have the the smallest Z plane under the player
|
/* We have the smallest Z plane under the player
|
||||||
* which is below the player's eye level (pov->z).
|
* which is below the player's eye level (pov->z).
|
||||||
* Determine the approach delta Z value to return
|
* Determine the approach delta Z value to return
|
||||||
*/
|
*/
|
||||||
|
@ -584,7 +584,7 @@ static void trv_ray_ycaster12(FAR struct trv_raycast_s *result)
|
|||||||
|
|
||||||
/* Pre-calculate the rate of change of X and Z with respect to Y */
|
/* Pre-calculate the rate of change of X and Z with respect to Y */
|
||||||
/* The inverted tangent is equal to the rate of change of X with respect to
|
/* The inverted tangent is equal to the rate of change of X with respect to
|
||||||
* the Y-axis. The cotangent is stored at double the the "normal" scaling.
|
* the Y-axis. The cotangent is stored at double the "normal" scaling.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
dxdy = g_cot_table(g_camera.yaw);
|
dxdy = g_cot_table(g_camera.yaw);
|
||||||
@ -646,7 +646,7 @@ static void trv_ray_ycaster12(FAR struct trv_raycast_s *result)
|
|||||||
|
|
||||||
if (absx >= rect->hstart && absx <= rect->hend)
|
if (absx >= rect->hstart && absx <= rect->hend)
|
||||||
{
|
{
|
||||||
/* The X position lies in the rectangle. Now, calculate the the
|
/* The X position lies in the rectangle. Now, calculate the
|
||||||
* Z position at this relative X position. We can skip this step
|
* Z position at this relative X position. We can skip this step
|
||||||
* if we are processing another rectangle at the same relx
|
* if we are processing another rectangle at the same relx
|
||||||
* distance.
|
* distance.
|
||||||
@ -810,7 +810,7 @@ static void trv_ray_ycaster34(FAR struct trv_raycast_s *result)
|
|||||||
|
|
||||||
/* Pre-calculate the rate of change of X and Z with respect to Y */
|
/* Pre-calculate the rate of change of X and Z with respect to Y */
|
||||||
/* The negative inverted tangent is equal to the rate of change of X with
|
/* The negative inverted tangent is equal to the rate of change of X with
|
||||||
* respect to the Y-axis. The cotangent is stored at double the the
|
* respect to the Y-axis. The cotangent is stored at double the
|
||||||
* "normal" scaling.
|
* "normal" scaling.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -1103,7 +1103,7 @@ static void trv_ray_zcasteru(FAR struct trv_raycast_s *result)
|
|||||||
|
|
||||||
if (absx >= rect->hstart && absx <= rect->hend)
|
if (absx >= rect->hstart && absx <= rect->hend)
|
||||||
{
|
{
|
||||||
/* The X position lies in the rectangle. Now, calculate the the
|
/* The X position lies in the rectangle. Now, calculate the
|
||||||
* Y position at this relative Z position. We can skip this step
|
* Y position at this relative Z position. We can skip this step
|
||||||
* if we are processing another rectangle at the same relx
|
* if we are processing another rectangle at the same relx
|
||||||
* distance.
|
* distance.
|
||||||
@ -1253,7 +1253,7 @@ static void trv_ray_zcasterl(FAR struct trv_raycast_s *result)
|
|||||||
|
|
||||||
if (absx >= rect->hstart && absx <= rect->hend)
|
if (absx >= rect->hstart && absx <= rect->hend)
|
||||||
{
|
{
|
||||||
/* The X position lies in the rectangle. Now, calculate the the
|
/* The X position lies in the rectangle. Now, calculate the
|
||||||
* Y position at this relative Z position. We can skip this step
|
* Y position at this relative Z position. We can skip this step
|
||||||
* if we are processing another rectangle at the same relx
|
* if we are processing another rectangle at the same relx
|
||||||
* distance.
|
* distance.
|
||||||
|
@ -547,7 +547,7 @@ static void trv_ray_yawyprune_12cw(FAR struct trv_rect_head_s *outlist,
|
|||||||
|
|
||||||
/* Pre-calculate the rate of change of X with respect to Y */
|
/* Pre-calculate the rate of change of X with respect to Y */
|
||||||
/* The inverted tangent is equal to the rate of change of X with respect
|
/* The inverted tangent is equal to the rate of change of X with respect
|
||||||
* to the Y-axis. The cotangent is stored at double the the "normal"
|
* to the Y-axis. The cotangent is stored at double the "normal"
|
||||||
* scaling.
|
* scaling.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -638,7 +638,7 @@ static void trv_ray_yawyprune_12ccw(FAR struct trv_rect_head_s *outlist,
|
|||||||
|
|
||||||
/* Pre-calculate the rate of change of X with respect to Y */
|
/* Pre-calculate the rate of change of X with respect to Y */
|
||||||
/* The inverted tangent is equal to the rate of change of X with respect
|
/* The inverted tangent is equal to the rate of change of X with respect
|
||||||
* to the Y-axis. The cotangent is stored at double the the "normal"
|
* to the Y-axis. The cotangent is stored at double the "normal"
|
||||||
* scaling.
|
* scaling.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -729,7 +729,7 @@ static void trv_ray_yawyprune_34cw(FAR struct trv_rect_head_s *outlist,
|
|||||||
|
|
||||||
/* Pre-calculate the rate of change of X with respect to Y */
|
/* Pre-calculate the rate of change of X with respect to Y */
|
||||||
/* The negative inverted tangent is equal to the rate of change of X with
|
/* The negative inverted tangent is equal to the rate of change of X with
|
||||||
* respect to the Y-axis. The cotangent is stored at double the the
|
* respect to the Y-axis. The cotangent is stored at double the
|
||||||
* "normal" scaling.
|
* "normal" scaling.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -820,7 +820,7 @@ static void trv_ray_yawyprune_34ccw(FAR struct trv_rect_head_s *outlist,
|
|||||||
|
|
||||||
/* Pre-calculate the rate of change of X with respect to Y */
|
/* Pre-calculate the rate of change of X with respect to Y */
|
||||||
/* The negative inverted tangent is equal to the rate of change of X with
|
/* The negative inverted tangent is equal to the rate of change of X with
|
||||||
* respect to the Y-axis. The cotangent is stored at double the the
|
* respect to the Y-axis. The cotangent is stored at double the
|
||||||
* "normal" scaling.
|
* "normal" scaling.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -238,7 +238,7 @@ static uint8_t trv_ini_long(INIHANDLE inihandle, FAR long *value,
|
|||||||
* Name: trv_ini_filename
|
* Name: trv_ini_filename
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Reads a file name from the the INI file.
|
* Reads a file name from the INI file.
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
@ -353,7 +353,7 @@ static uint8_t wld_read_longint(INIHANDLE handle, long *variable_value,
|
|||||||
|
|
||||||
/*************************************************************************
|
/*************************************************************************
|
||||||
* Name: wld_read_filename
|
* Name: wld_read_filename
|
||||||
* Description: Reads a file name from the the INI file.
|
* Description: Reads a file name from the INI file.
|
||||||
************************************************************************/
|
************************************************************************/
|
||||||
|
|
||||||
static uint8_t wld_read_filename(INIHANDLE handle,
|
static uint8_t wld_read_filename(INIHANDLE handle,
|
||||||
|
@ -387,7 +387,7 @@ static char *inifile_find_section_variable(struct inifile_state_s *priv,
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Does the the variable name match the one we are looking for? */
|
/* Does the variable name match the one we are looking for? */
|
||||||
|
|
||||||
if (strcasecmp(varinfo.variable, variable) == 0)
|
if (strcasecmp(varinfo.variable, variable) == 0)
|
||||||
{
|
{
|
||||||
|
@ -212,7 +212,7 @@ static void tcl_paint_coplanar_rectangle(tcl_window_t *w,
|
|||||||
vtop = g_view_size - vtmp - 1;
|
vtop = g_view_size - vtmp - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* We now have some rectangle that we know is to fully on the the display.
|
/* We now have some rectangle that we know is to fully on the display.
|
||||||
* Get the display positions of the rectangle
|
* Get the display positions of the rectangle
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -255,7 +255,7 @@ static int tcl_check_horizontal_rectangle(tcl_window_t *w, rect_data_t *ptr, int
|
|||||||
posend = ptr->hend;
|
posend = ptr->hend;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Verify the the vertical rectangle intersects the viewing plane */
|
/* Verify the vertical rectangle intersects the viewing plane */
|
||||||
|
|
||||||
return ((posstart <= pos) && (posend >= pos));
|
return ((posstart <= pos) && (posend >= pos));
|
||||||
}
|
}
|
||||||
@ -345,7 +345,7 @@ static void tcl_paint_horizontal_rectangle(tcl_window_t *w, rect_data_t *ptr,
|
|||||||
hright = g_view_size - 1;
|
hright = g_view_size - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* We now have some line segment that we know is to fully on the the display.
|
/* We now have some line segment that we know is to fully on the display.
|
||||||
* Get the display positions of the line segment.
|
* Get the display positions of the line segment.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -403,7 +403,7 @@ static int tcl_check_vertical_rectangle(tcl_window_t *w, rect_data_t *ptr, int p
|
|||||||
posend = ptr->vend;
|
posend = ptr->vend;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Verify the the vertical rectangle intersects the viewing plane */
|
/* Verify the vertical rectangle intersects the viewing plane */
|
||||||
|
|
||||||
return ((posstart <= pos) && (posend >= pos));
|
return ((posstart <= pos) && (posend >= pos));
|
||||||
}
|
}
|
||||||
@ -497,7 +497,7 @@ static void tcl_paint_vertical_rectangle(tcl_window_t *w, rect_data_t *ptr,
|
|||||||
vtop = g_view_size - vtmp - 1;
|
vtop = g_view_size - vtmp - 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* We now have some line segment that we know is to fully on the the display.
|
/* We now have some line segment that we know is to fully on the display.
|
||||||
* Get the display positions of the line segment
|
* Get the display positions of the line segment
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* Copyright (C) 2016 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2016 Gregory Nutt. All rights reserved.
|
||||||
*
|
*
|
||||||
* This file was taken from Mini Basic, versino 1.0 developed by Malcolm
|
* This file was taken from Mini Basic, versino 1.0 developed by Malcolm
|
||||||
* McLean, Leeds University. Mini Basic version 1.0 was released the the
|
* McLean, Leeds University. Mini Basic version 1.0 was released the
|
||||||
* Creative Commons Attribution license which, from my reading, appears to
|
* Creative Commons Attribution license which, from my reading, appears to
|
||||||
* be compatible with the NuttX BSD-style license:
|
* be compatible with the NuttX BSD-style license:
|
||||||
*
|
*
|
||||||
|
@ -101,7 +101,7 @@
|
|||||||
# define CONFIG_SYSTEM_ZMODEM_MOUNTPOINT "/tmp"
|
# define CONFIG_SYSTEM_ZMODEM_MOUNTPOINT "/tmp"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* CONFIG_SYSTEM_ZMODEM_RCVSAMPLE indicates the the local sender can sample
|
/* CONFIG_SYSTEM_ZMODEM_RCVSAMPLE indicates the local sender can sample
|
||||||
* reverse channel while sending. This means in particular, that Zmodem can
|
* reverse channel while sending. This means in particular, that Zmodem can
|
||||||
* detect if data is received from the remote receiver while streaming a file
|
* detect if data is received from the remote receiver while streaming a file
|
||||||
* to the remote receiver. Support for such asychronous incoming data
|
* to the remote receiver. Support for such asychronous incoming data
|
||||||
|
@ -89,7 +89,7 @@ micropython
|
|||||||
4. Micro Python needs the math library libm.a. The math library built into
|
4. Micro Python needs the math library libm.a. The math library built into
|
||||||
NuttX is sufficient and that can be included with CONFIG_LIBM=y. If you
|
NuttX is sufficient and that can be included with CONFIG_LIBM=y. If you
|
||||||
prefer a more highly tuned math library then refer to the discussion of
|
prefer a more highly tuned math library then refer to the discussion of
|
||||||
math.h in the the top-level nuttx/README.txt file. Also refer to the
|
math.h in the top-level nuttx/README.txt file. Also refer to the
|
||||||
discussions in the NuttX Yahoo! forum; people have found many creative
|
discussions in the NuttX Yahoo! forum; people have found many creative
|
||||||
way to link with the newlib math library, for example.
|
way to link with the newlib math library, for example.
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
* Copyright (C) 2016 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2016 Gregory Nutt. All rights reserved.
|
||||||
*
|
*
|
||||||
* This file was taken from Mini Basic, versino 1.0 developed by Malcolm
|
* This file was taken from Mini Basic, versino 1.0 developed by Malcolm
|
||||||
* McLean, Leeds University. Mini Basic version 1.0 was released the the
|
* McLean, Leeds University. Mini Basic version 1.0 was released the
|
||||||
* Creative Commons Attribution license which, from my reading, appears to
|
* Creative Commons Attribution license which, from my reading, appears to
|
||||||
* be compatible with the NuttX BSD-style license:
|
* be compatible with the NuttX BSD-style license:
|
||||||
*
|
*
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
* Copyright (C) 2016 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2016 Gregory Nutt. All rights reserved.
|
||||||
*
|
*
|
||||||
* This file was taken from Mini Basic, versino 1.0 developed by Malcolm
|
* This file was taken from Mini Basic, versino 1.0 developed by Malcolm
|
||||||
* McLean, Leeds University. Mini Basic version 1.0 was released the the
|
* McLean, Leeds University. Mini Basic version 1.0 was released the
|
||||||
* Creative Commons Attribution license which, from my reading, appears to
|
* Creative Commons Attribution license which, from my reading, appears to
|
||||||
* be compatible with the NuttX BSD-style license:
|
* be compatible with the NuttX BSD-style license:
|
||||||
*
|
*
|
||||||
|
@ -24,7 +24,7 @@ is shown below:
|
|||||||
All top level .txt files Not included
|
All top level .txt files Not included
|
||||||
demo/ Not included. This directory contains demo
|
demo/ Not included. This directory contains demo
|
||||||
and porting code for a variety of platforms.
|
and porting code for a variety of platforms.
|
||||||
The NuttX demo was ported from the the LINUX
|
The NuttX demo was ported from the LINUX
|
||||||
demo in this director and can be found at
|
demo in this director and can be found at
|
||||||
apps/examples/modbus.
|
apps/examples/modbus.
|
||||||
doc/ Note included. This directory contains Doxygen
|
doc/ Note included. This directory contains Doxygen
|
||||||
|
@ -296,7 +296,7 @@ static void ntpc_settime(FAR uint8_t *timestamp)
|
|||||||
* Name: ntpc_daemon
|
* Name: ntpc_daemon
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* This the the NTP client daemon. This is a *very* minimal
|
* This the NTP client daemon. This is a *very* minimal
|
||||||
* implementation! An NTP request is and the system clock is set when the
|
* implementation! An NTP request is and the system clock is set when the
|
||||||
* response is received
|
* response is received
|
||||||
*
|
*
|
||||||
@ -354,7 +354,7 @@ static int ntpc_daemon(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Setup or sockaddr_in struct with information about the server we are
|
/* Setup or sockaddr_in struct with information about the server we are
|
||||||
* going to ask the the time from.
|
* going to ask the time from.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
memset(&server, 0, sizeof(struct sockaddr_in));
|
memset(&server, 0, sizeof(struct sockaddr_in));
|
||||||
|
@ -196,7 +196,7 @@ u16_t ppp_raise(u8_t config, u8_t *username, u8_t *password)
|
|||||||
while (status == 0)
|
while (status == 0)
|
||||||
{
|
{
|
||||||
#ifdef SYSTEM_POLLER
|
#ifdef SYSTEM_POLLER
|
||||||
/* If the the serial interrupt is not hooked to ahdlc_rx, or the
|
/* If the serial interrupt is not hooked to ahdlc_rx, or the
|
||||||
system needs to handle other stuff while were blocking, call
|
system needs to handle other stuff while were blocking, call
|
||||||
the system poller.*/
|
the system poller.*/
|
||||||
|
|
||||||
|
@ -254,7 +254,7 @@ void fdwatch_del_fd(struct fdwatch_s *fw, int fd)
|
|||||||
|
|
||||||
fw->nwatched--;
|
fw->nwatched--;
|
||||||
|
|
||||||
/* Replace the deleted one with the one at the the end
|
/* Replace the deleted one with the one at the end
|
||||||
* of the list.
|
* of the list.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -119,7 +119,7 @@
|
|||||||
|
|
||||||
/* Select the single network device name supported this this network
|
/* Select the single network device name supported this this network
|
||||||
* initialization logci. If multiple interfaces are present with different
|
* initialization logci. If multiple interfaces are present with different
|
||||||
* link types, the the order of definition in the following conditional
|
* link types, the order of definition in the following conditional
|
||||||
* logic will select the one interface that will be used (which might
|
* logic will select the one interface that will be used (which might
|
||||||
* not be the one that you want).
|
* not be the one that you want).
|
||||||
*/
|
*/
|
||||||
|
@ -20,13 +20,13 @@ config SYSTEM_STACKMONITOR_STACKSIZE
|
|||||||
int "Stack monitor daemon stack size"
|
int "Stack monitor daemon stack size"
|
||||||
default 2048
|
default 2048
|
||||||
---help---
|
---help---
|
||||||
The stack size to use the the stack monitor daemon. Default: 2048
|
The stack size to use the stack monitor daemon. Default: 2048
|
||||||
|
|
||||||
config SYSTEM_STACKMONITOR_PRIORITY
|
config SYSTEM_STACKMONITOR_PRIORITY
|
||||||
int "Stack monitor daemon priority"
|
int "Stack monitor daemon priority"
|
||||||
default 50
|
default 50
|
||||||
---help---
|
---help---
|
||||||
The priority to use the the stack monitor daemon. Default: 50
|
The priority to use the stack monitor daemon. Default: 50
|
||||||
|
|
||||||
config SYSTEM_STACKMONITOR_INTERVAL
|
config SYSTEM_STACKMONITOR_INTERVAL
|
||||||
int "Stack monitor dump frequency"
|
int "Stack monitor dump frequency"
|
||||||
|
@ -185,7 +185,7 @@ int stackmonitor_stop(int argc, char **argv)
|
|||||||
if (g_stackmonitor.started)
|
if (g_stackmonitor.started)
|
||||||
{
|
{
|
||||||
/* Stop the stack monitor. The next time the monitor wakes up,
|
/* Stop the stack monitor. The next time the monitor wakes up,
|
||||||
* it will see the the stop indication and will exist.
|
* it will see the stop indication and will exist.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
syslog(LOG_INFO, STKMON_PREFIX "Stopping: %d\n", g_stackmonitor.pid);
|
syslog(LOG_INFO, STKMON_PREFIX "Stopping: %d\n", g_stackmonitor.pid);
|
||||||
|
@ -1519,7 +1519,7 @@ static void vi_scrollcheck(FAR struct vi_s *vi)
|
|||||||
vi->hscroll -= TABSIZE;
|
vi->hscroll -= TABSIZE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If the the cursor column lies to the right of the display, then adjust
|
/* If the cursor column lies to the right of the display, then adjust
|
||||||
* the horizontal scrolling position so that the cursor position does
|
* the horizontal scrolling position so that the cursor position does
|
||||||
* lie on the display.
|
* lie on the display.
|
||||||
*/
|
*/
|
||||||
@ -2100,7 +2100,7 @@ static void vi_paste(FAR struct vi_s *vi)
|
|||||||
* Name: vi_gotoline
|
* Name: vi_gotoline
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Position the the cursor at the line specified by vi->value. If
|
* Position the cursor at the line specified by vi->value. If
|
||||||
* vi->value is zero, then the cursor is position at the end of the text
|
* vi->value is zero, then the cursor is position at the end of the text
|
||||||
* buffer.
|
* buffer.
|
||||||
*
|
*
|
||||||
@ -2931,7 +2931,7 @@ static void vi_cmd_submode(FAR struct vi_s *vi)
|
|||||||
* Name: vi_findstring
|
* Name: vi_findstring
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Find the the string in the findstr buffer by searching for a matching
|
* Find the string in the findstr buffer by searching for a matching
|
||||||
* sub-string in the text buffer, starting at the current cursor position.
|
* sub-string in the text buffer, starting at the current cursor position.
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
@ -288,7 +288,7 @@ struct zm_state_s;
|
|||||||
typedef int (*action_t)(FAR struct zm_state_s *pzm);
|
typedef int (*action_t)(FAR struct zm_state_s *pzm);
|
||||||
|
|
||||||
/* State transition table entry. There is one row of the table per possible state.
|
/* State transition table entry. There is one row of the table per possible state.
|
||||||
* Each row is a row of all reasonable events for this state and long the the
|
* Each row is a row of all reasonable events for this state and long the
|
||||||
* appropriate state transition and transition action.
|
* appropriate state transition and transition action.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -475,7 +475,7 @@ static int zmr_zcrc(FAR struct zm_state_s *pzm)
|
|||||||
|
|
||||||
pzmr->crc = zm_bytobe32(pzm->hdrdata);
|
pzmr->crc = zm_bytobe32(pzm->hdrdata);
|
||||||
|
|
||||||
/* And create the the local file */
|
/* And create the local file */
|
||||||
|
|
||||||
zmdbg("ZMR_STATE %d: CRC=%08x call zmr_openfile\n", pzmr->crc, pzm->state);
|
zmdbg("ZMR_STATE %d: CRC=%08x call zmr_openfile\n", pzmr->crc, pzm->state);
|
||||||
return zmr_openfile(pzmr, zm_bytobe32(pzm->hdrdata + 1));
|
return zmr_openfile(pzmr, zm_bytobe32(pzm->hdrdata + 1));
|
||||||
@ -768,7 +768,7 @@ static int zmr_filedata(FAR struct zm_state_s *pzm)
|
|||||||
{
|
{
|
||||||
int errorcode = errno;
|
int errorcode = errno;
|
||||||
|
|
||||||
/* Could not write to the the file. */
|
/* Could not write to the file. */
|
||||||
|
|
||||||
zmdbg("ERROR: Write to file failed: %d\n", errorcode);
|
zmdbg("ERROR: Write to file failed: %d\n", errorcode);
|
||||||
zmdbg("PSTATE %d:%d->%d:%d\n",
|
zmdbg("PSTATE %d:%d->%d:%d\n",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user