Typo fixes.
This commit is contained in:
parent
614b73d321
commit
bc5d8034f1
@ -54,7 +54,7 @@
|
||||
#include "lib.h"
|
||||
|
||||
#define CANID_DELIM '#'
|
||||
#define DATA_SEPERATOR '.'
|
||||
#define DATA_SEPARATOR '.'
|
||||
|
||||
const char hex_asc_upper[] = "0123456789ABCDEF";
|
||||
|
||||
@ -217,7 +217,7 @@ int parse_canframe(char *cs, struct canfd_frame *cf) {
|
||||
|
||||
for (i=0, dlen=0; i < maxdlen; i++){
|
||||
|
||||
if(cs[idx] == DATA_SEPERATOR) /* skip (optional) separator */
|
||||
if(cs[idx] == DATA_SEPARATOR) /* skip (optional) separator */
|
||||
idx++;
|
||||
|
||||
if(idx >= len) /* end of string => end of data */
|
||||
|
@ -673,7 +673,7 @@ drivers. This test is suitable for use EEPROM character drivers (see
|
||||
`nuttx/drivers/bch`)
|
||||
|
||||
```c
|
||||
int ret = bchdev_register(<path-to-block-dirver>,
|
||||
int ret = bchdev_register(<path-to-block-driver>,
|
||||
<path-to-character-driver>, false);
|
||||
```
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Examples / `camera` Camera Snapshot
|
||||
|
||||
This sample is implemented as `camera` command on NuttX Shell. The synopsys of
|
||||
This sample is implemented as `camera` command on NuttX Shell. The synopsis of
|
||||
the command is as below.
|
||||
|
||||
```
|
||||
|
@ -189,7 +189,7 @@ config EXAMPLES_FOC_ADC_DEVPATH
|
||||
default "/dev/adc0"
|
||||
|
||||
config EXAMPLES_FOC_ADC_VREF
|
||||
int "FOC ADC reference votlage [x1000]"
|
||||
int "FOC ADC reference voltage [x1000]"
|
||||
default 0
|
||||
|
||||
config EXAMPLES_FOC_ADC_MAX
|
||||
@ -320,7 +320,7 @@ config EXAMPLES_FOC_IDQ_KP
|
||||
default 0
|
||||
---help---
|
||||
It is set to 0 by default and must be properly configured by the user!
|
||||
The vaule of Kp and Ki depends on the controlled motor parameters.
|
||||
The value of Kp and Ki depends on the controlled motor parameters.
|
||||
For more instructions see README.md for this example.
|
||||
|
||||
config EXAMPLES_FOC_IDQ_KI
|
||||
@ -328,7 +328,7 @@ config EXAMPLES_FOC_IDQ_KI
|
||||
default 0
|
||||
---help---
|
||||
It is set to 0 by default and must be properly configured by the user!
|
||||
The vaule of Kp and Ki depends on the controlled motor parameters.
|
||||
The value of Kp and Ki depends on the controlled motor parameters.
|
||||
For more instructions see README.md for this example.
|
||||
|
||||
config EXAMPLES_FOC_RAMP_THR
|
||||
|
@ -51,9 +51,9 @@
|
||||
|
||||
#define MAIN_LOOP_USLEEP (200000)
|
||||
|
||||
/* Enabled instnaces default state */
|
||||
/* Enabled instances default state */
|
||||
|
||||
#define INST_EN_DEAFULT (0xff)
|
||||
#define INST_EN_DEFAULT (0xff)
|
||||
|
||||
/****************************************************************************
|
||||
* Private Functions
|
||||
@ -118,7 +118,7 @@ static void init_args(FAR struct args_s *args)
|
||||
|
||||
args->state =
|
||||
(args->state == 0 ? CONFIG_EXAMPLES_FOC_STATE_INIT : args->state);
|
||||
args->en = (args->en == -1 ? INST_EN_DEAFULT : args->en);
|
||||
args->en = (args->en == -1 ? INST_EN_DEFAULT : args->en);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
@ -133,7 +133,7 @@ static int validate_args(FAR struct args_s *args)
|
||||
|
||||
if (args->pi_kp == 0 && args->pi_ki == 0)
|
||||
{
|
||||
PRINTF("ERROR: missign Kp/Ki configuration\n");
|
||||
PRINTF("ERROR: missing Kp/Ki configuration\n");
|
||||
goto errout;
|
||||
}
|
||||
|
||||
|
@ -102,7 +102,7 @@ static void foc_help(void)
|
||||
PRINTF(" 2 - motor stop\n");
|
||||
PRINTF(" 3 - motor CW\n");
|
||||
PRINTF(" 4 - motor CCW\n");
|
||||
PRINTF(" [-j] enable specific instnaces\n");
|
||||
PRINTF(" [-j] enable specific instances\n");
|
||||
#ifdef CONFIG_EXAMPLES_FOC_HAVE_OPENLOOP
|
||||
PRINTF(" [-o] openloop Vq/Iq setting [x1000]\n");
|
||||
#endif
|
||||
|
@ -104,7 +104,7 @@ extern struct i2schar_state_s g_i2schar;
|
||||
* Name: i2schar_devinit()
|
||||
*
|
||||
* Description:
|
||||
* Perform architecuture-specific initialization of the I2s hardware and
|
||||
* Perform architecture-specific initialization of the I2s hardware and
|
||||
* registration of the I2S character driver CHAR hardware. If
|
||||
* CONFIG_EXAMPLES_I2SCHAR_DEVINIT is defined, then board-specific logic
|
||||
* must provide this function.
|
||||
|
@ -18,7 +18,7 @@ config EXAMPLES_MEDIA
|
||||
drivers (see nuttx/drivers/eeprom), or with block drivers wrapped
|
||||
as character drivers (see nuttx/drivers/bch)
|
||||
|
||||
int ret = bchdev_register(<path-to-block-dirver>,
|
||||
int ret = bchdev_register(<path-to-block-driver>,
|
||||
<path-to-character-driver>, false);
|
||||
|
||||
MTD drivers need an additional wrapper layer, the FTL wrapper must
|
||||
@ -39,7 +39,7 @@ config EXAMPLES_MEDIA_DEVPATH
|
||||
drivers (see nuttx/drivers/eeprom), or with block drivers wrapped as
|
||||
character drivers (see nuttx/drivers/bch)
|
||||
|
||||
int ret = bchdev_register(<path-to-block-dirver>,
|
||||
int ret = bchdev_register(<path-to-block-driver>,
|
||||
<path-to-character-driver>, false);
|
||||
|
||||
MTD drivers need an additional wrapper layer, the FTL wrapper must
|
||||
|
@ -60,7 +60,7 @@ static bool g_timer_gpio_daemon_started = false;
|
||||
* Name: timer_status
|
||||
*
|
||||
* Description:
|
||||
* Auxiliar function to get the timer status and print it.
|
||||
* Auxiliary function to get the timer status and print it.
|
||||
*
|
||||
* Parameters:
|
||||
* fd - Timer file descriptor to access the timer.
|
||||
|
@ -38,7 +38,7 @@
|
||||
****************************************************************************/
|
||||
|
||||
#define SUBSCRIBE_CMD 1
|
||||
#define UNSUSBCRIBE_CMD -1
|
||||
#define UNSUBSCRIBE_CMD -1
|
||||
#define FEED_CMD 2
|
||||
|
||||
/****************************************************************************
|
||||
@ -91,7 +91,7 @@ static void feed_sighandler(int signo, FAR siginfo_t * siginfo,
|
||||
|
||||
task_mn_subscribe(request.task_id);
|
||||
break;
|
||||
case UNSUSBCRIBE_CMD:
|
||||
case UNSUBSCRIBE_CMD:
|
||||
|
||||
/* Excludes the current requester task from the watched tasks list */
|
||||
|
||||
@ -208,7 +208,7 @@ static int watcher_daemon(int argc, FAR char *argv[])
|
||||
|
||||
fprintf(fp, "%d %d %d %d %d\n", (int)watcher_pid,
|
||||
(int)CONFIG_EXAMPLES_WATCHER_SIGNAL, (int)SUBSCRIBE_CMD,
|
||||
(int)FEED_CMD, (int)UNSUSBCRIBE_CMD);
|
||||
(int)FEED_CMD, (int)UNSUBSCRIBE_CMD);
|
||||
fclose(fp);
|
||||
|
||||
/* Suspends the calling thread until delivery of a non-blocked signal. */
|
||||
|
@ -62,7 +62,7 @@ config IPCFG_OFFSET
|
||||
Seek to this offset before reading or writing the IP Configuration.
|
||||
This is only support for the character driver device. This permits
|
||||
some formatting of, say, EEPROM, so that multiple, different
|
||||
configurations can be maintained at differnt offsets into the IP
|
||||
configurations can be maintained at different offsets into the IP
|
||||
Configuration File.
|
||||
|
||||
endif # FSUTILS_IPCFG
|
||||
|
@ -67,7 +67,7 @@ struct ipcfg_header_s
|
||||
*
|
||||
* Input Parameters:
|
||||
* path - The full path to the IP configuration file
|
||||
* ipv4cfg - Location to read IPv4 configration to
|
||||
* ipv4cfg - Location to read IPv4 configuration to
|
||||
*
|
||||
* Returned Value:
|
||||
* Zero is returned on success; a negated errno value is returned on any
|
||||
@ -88,7 +88,7 @@ int ipcfg_read_binary_ipv4(FAR const char *path,
|
||||
*
|
||||
* Input Parameters:
|
||||
* path - The full path to the IP configuration file
|
||||
* ipv6cfg - Location to read IPv6 configration to
|
||||
* ipv6cfg - Location to read IPv6 configuration to
|
||||
*
|
||||
* Returned Value:
|
||||
* Zero is returned on success; a negated errno value is returned on any
|
||||
@ -109,7 +109,7 @@ int ipcfg_read_binary_ipv6(FAR const char *path,
|
||||
*
|
||||
* Input Parameters:
|
||||
* path - The full path to the IP configuration file
|
||||
* ipv4cfg - The IPv4 configration to write
|
||||
* ipv4cfg - The IPv4 configuration to write
|
||||
*
|
||||
* Returned Value:
|
||||
* Zero is returned on success; a negated errno value is returned on any
|
||||
@ -131,7 +131,7 @@ int ipcfg_write_binary_ipv4(FAR const char *path,
|
||||
*
|
||||
* Input Parameters:
|
||||
* path - The full path to the IP configuration file
|
||||
* ipv6cfg - The IPv6 configration to write
|
||||
* ipv6cfg - The IPv6 configuration to write
|
||||
*
|
||||
* Returned Value:
|
||||
* Zero is returned on success; a negated errno value is returned on any
|
||||
@ -155,7 +155,7 @@ int ipcfg_write_binary_ipv6(FAR const char *path,
|
||||
* Input Parameters:
|
||||
* path - The full path to the IP configuration file
|
||||
* netdev - Network device name string
|
||||
* ipv4cfg - Location to read IPv4 configration to
|
||||
* ipv4cfg - Location to read IPv4 configuration to
|
||||
*
|
||||
* Returned Value:
|
||||
* Zero is returned on success; a negated errno value is returned on any
|
||||
@ -178,7 +178,7 @@ int ipcfg_read_text_ipv4(FAR const char *path, FAR const char *netdev,
|
||||
* Input Parameters:
|
||||
* path - The full path to the IP configuration file
|
||||
* netdev - Network device name string
|
||||
* ipv6cfg - Location to read IPv6 configration to
|
||||
* ipv6cfg - Location to read IPv6 configuration to
|
||||
*
|
||||
* Returned Value:
|
||||
* Zero is returned on success; a negated errno value is returned on any
|
||||
@ -201,7 +201,7 @@ int ipcfg_read_text_ipv6(FAR const char *path, FAR const char *netdev,
|
||||
* Input Parameters:
|
||||
* path - The full path to the IP configuration file
|
||||
* netdev - Network device name string
|
||||
* ipv4cfg - The IPv4 configration to write
|
||||
* ipv4cfg - The IPv4 configuration to write
|
||||
*
|
||||
* Returned Value:
|
||||
* Zero is returned on success; a negated errno value is returned on any
|
||||
@ -224,7 +224,7 @@ int ipcfg_write_text_ipv4(FAR const char *path, FAR const char *netdev,
|
||||
* Input Parameters:
|
||||
* path - The full path to the IP configuration file
|
||||
* netdev - Network device name string
|
||||
* ipv6cfg - The IPv6 configration to write
|
||||
* ipv6cfg - The IPv6 configuration to write
|
||||
*
|
||||
* Returned Value:
|
||||
* Zero is returned on success; a negated errno value is returned on any
|
||||
|
@ -11,7 +11,7 @@ config FSUTILS_MKFATFS
|
||||
---help---
|
||||
Enables support for the mkfatfs utility
|
||||
|
||||
config MKFATFS_BUFFER_ALIGMENT
|
||||
config MKFATFS_BUFFER_ALIGNMENT
|
||||
int "Buffer alignment"
|
||||
default 0
|
||||
depends on FSUTILS_MKFATFS
|
||||
|
@ -42,9 +42,9 @@
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
#if defined(CONFIG_MKFATFS_BUFFER_ALIGMENT) && \
|
||||
CONFIG_MKFATFS_BUFFER_ALIGMENT > 0
|
||||
# define fat_buffer_alloc(s) memalign(CONFIG_MKFATFS_BUFFER_ALIGMENT, (s))
|
||||
#if defined(CONFIG_MKFATFS_BUFFER_ALIGNMENT) && \
|
||||
CONFIG_MKFATFS_BUFFER_ALIGNMENT > 0
|
||||
# define fat_buffer_alloc(s) memalign(CONFIG_MKFATFS_BUFFER_ALIGNMENT, (s))
|
||||
#else
|
||||
# define fat_buffer_alloc(s) malloc((s))
|
||||
#endif
|
||||
|
@ -156,7 +156,7 @@ typedef int16_t lv_coord_t;
|
||||
|
||||
# define LV_MEM_SIZE CONFIG_LV_MEM_SIZE
|
||||
|
||||
/* Complier prefix for a big array declaration */
|
||||
/* Compiler prefix for a big array declaration */
|
||||
|
||||
# define LV_MEM_ATTR
|
||||
|
||||
|
@ -150,7 +150,7 @@
|
||||
In that case, we just use the default background color. However,
|
||||
that doesn't work either for the case where the background color
|
||||
changes when the widget is selected. Then the background color
|
||||
in the font is wrong. Fixed in CButtonArrary, but the problem
|
||||
in the font is wrong. Fixed in CButtonArray, but the problem
|
||||
probably exists in other places as well.
|
||||
* NxWM: Increase default spacing of icons on the Start Window.
|
||||
* NxWM::CHexCalculator: Fix some non-standard calculator behavior
|
||||
@ -208,8 +208,8 @@
|
||||
From Petteri Aimonen.
|
||||
* NxWidgets::CNxTimer: Replace the original (apparently non-functional) signal-
|
||||
based solution with a work queue-based solution. This raises some isses about
|
||||
using the internal work queues from user space. I have decided to implemented
|
||||
user-space work queues (someday) in order to accomplish that functionaliy.
|
||||
using the internal work queues from user space. I have decided to implement
|
||||
user-space work queues (someday) in order to accomplish that functionality.
|
||||
Submitted by Petteri Aimonen.
|
||||
* NxWidgets:CText and NxWidgets:CNumericEdite: Fix some memory freeing bugs
|
||||
(from Petteri Aimonen).
|
||||
|
@ -36,7 +36,7 @@ o Platform specific Issues
|
||||
In that case, we just use the default background color. However,
|
||||
that doesn't work either for the case where the background color
|
||||
changes when the widget is selected. Then the background color
|
||||
in the font is wrong. There is a hack in in CButtonArrary that
|
||||
in the font is wrong. There is a hack in in CButtonArray that
|
||||
fixed this problem, but the problem certainly exists in other
|
||||
places as well and begs for a better solution.
|
||||
Status: Open
|
||||
|
@ -788,7 +788,7 @@ void CGraphicsPort::_drawText(struct nxgl_point_s *pos, CRect *bound,
|
||||
dest.pt2.x = pos->x + fontWidth - 1;
|
||||
dest.pt2.y = pos->y + bmHeight - 1;
|
||||
|
||||
// Get the interection of the font box and the bounding box
|
||||
// Get the interaction of the font box and the bounding box
|
||||
|
||||
struct nxgl_rect_s intersection;
|
||||
nxgl_rectintersect(&intersection, &dest, &boundingBox);
|
||||
|
@ -154,7 +154,7 @@ CRadioButton *CRadioButtonGroup::newRadioButton(nxgl_coord_t x, nxgl_coord_t y,
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets a pointer to the selectm_widgetControled widget.
|
||||
* Gets a pointer to the selectm_widgetControlled widget.
|
||||
*
|
||||
* @return Pointer to the selected widget.
|
||||
*/
|
||||
|
@ -150,7 +150,7 @@
|
||||
In that case, we just use the default background color. However,
|
||||
that doesn't work either for the case where the background color
|
||||
changes when the widget is selected. Then the background color
|
||||
in the font is wrong. Fixed in CButtonArrary, but the problem
|
||||
in the font is wrong. Fixed in CButtonArray, but the problem
|
||||
probably exists in other places as well.
|
||||
* NxWM: Increase default spacing of icons on the Start Window.
|
||||
* NxWM::CHexCalculator: Fix some non-standard calculator behavior
|
||||
@ -208,8 +208,8 @@
|
||||
From Petteri Aimonen.
|
||||
* NxWidgets::CNxTimer: Replace the original (apparently non-functional) signal-
|
||||
based solution with a work queue-based solution. This raises some isses about
|
||||
using the internal work queues from user space. I have decided to implemented
|
||||
user-space work queues (someday) in order to accomplish that functionaliy.
|
||||
using the internal work queues from user space. I have decided to implement
|
||||
user-space work queues (someday) in order to accomplish that functionality.
|
||||
Submitted by Petteri Aimonen.
|
||||
* NxWidgets:CText and NxWidgets:CNumericEdite: Fix some memory freeing bugs
|
||||
(from Petteri Aimonen).
|
||||
|
@ -589,7 +589,7 @@ config NXWM_CALIBRATION_MARGIN
|
||||
---help---
|
||||
The Calbration display consists of a target press offset from the edges
|
||||
of the display by this number of pixels (in the horizontal direction)
|
||||
or rows (in the vertical). The closer that you can comfortabley
|
||||
or rows (in the vertical). The closer that you can comfortably
|
||||
position the press positions to the edge, the more accurate will be the
|
||||
linear interpolation (provide that the hardware provides equally good
|
||||
measurements near the edges).
|
||||
@ -636,7 +636,7 @@ config NXWM_CALIBRATION_MESSAGES
|
||||
bool "Add Instructions in Center"
|
||||
default n
|
||||
---help---
|
||||
By default, the calibration screen is clear excecpt for the
|
||||
By default, the calibration screen is clear except for the
|
||||
calibration touchpoints. If this options are enabled, then
|
||||
instructions when to touch and when to release the touch will
|
||||
be added in the center of the display,
|
||||
|
@ -334,7 +334,7 @@ bool CStartWindow::isFullScreen(void) const
|
||||
/**
|
||||
* Add the application to the start window. The general sequence is:
|
||||
*
|
||||
* 1. Call IAppicationFactory::create to a new instance of the application
|
||||
* 1. Call IApplicationFactory::create to a new instance of the application
|
||||
* 2. Call CStartWindow::addApplication to add the application to the
|
||||
* start window.
|
||||
*
|
||||
|
@ -298,7 +298,7 @@ struct pdc_fbscreen_s
|
||||
|
||||
struct pdc_termstate_s
|
||||
{
|
||||
/* Terminal fd numbers (typcially 0 and 1) */
|
||||
/* Terminal fd numbers (typically 0 and 1) */
|
||||
|
||||
int out_fd;
|
||||
int in_fd;
|
||||
|
@ -125,7 +125,7 @@ CClock::CClock(FAR CTwm4Nx *twm4nx)
|
||||
|
||||
m_pid = (pid_t)-1;
|
||||
|
||||
// This is un-neccessary but helpful in debugging to have a known value
|
||||
// This is un-necessary but helpful in debugging to have a known value
|
||||
|
||||
std::memset(m_digits, 0, CLOCK_NDIGITS * sizeof(struct SClockDigit));
|
||||
}
|
||||
|
@ -260,7 +260,7 @@ namespace NxWM
|
||||
* Add the application to the start window. The general sequence for
|
||||
* setting up the start window is:
|
||||
*
|
||||
* 1. Call IAppicationFactory::create to a new instance of the application
|
||||
* 1. Call IApplicationFactory::create to a new instance of the application
|
||||
* 2. Call CStartWindow::addApplication to add the application to the
|
||||
* start window.
|
||||
*
|
||||
|
@ -285,7 +285,7 @@
|
||||
* CONFIG_NXWM_STARTWINDOW_MXMSGS - The maximum number of messages to queue
|
||||
* before blocking. Default 32
|
||||
* CONFIG_NXWM_STARTWINDOW_MXMPRIO - The message priority. Default: 42.
|
||||
* CONFIG_NXWM_STARTWINDOW_PRIO - Priority of the StartWindoW task. Default:
|
||||
* CONFIG_NXWM_STARTWINDOW_PRIO - Priority of the StartWindow task. Default:
|
||||
* SCHED_PRIORITY_DEFAULT. NOTE: This priority should be less than
|
||||
* CONFIG_NXSTART_SERVERPRIO or else there may be data overrun errors.
|
||||
* Such errors would most likely appear as duplicated rows of data on the
|
||||
|
@ -75,7 +75,7 @@
|
||||
#define IFD_TAG_IMAGEWIDTH 256 /* ImageLength, SHORT or LONG (Required) */
|
||||
#define IFD_TAG_IMAGELENGTH 257 /* ImageWidth, SHORT or LONG (Required) */
|
||||
#define IFD_TAG_BITSPERSAMPLE 258 /* BitsPerSample, SHORT (Required
|
||||
* in greyscale and pallette-color image files) */
|
||||
* in greyscale and palette-color image files) */
|
||||
#define IFD_TAG_COMPRESSION 259 /* Compression, SHORT (Required) */
|
||||
# define TAG_COMP_NONE 1 /* No compression */
|
||||
# define TAG_COMP_CCITT 2 /* CCITT Group 3 1-Dimensional Modified Huffman
|
||||
|
@ -145,7 +145,7 @@ namespace Twm4Nx
|
||||
*
|
||||
* @return. Either, (1) an event with recipient = EVENT_RECIPIENT_APP
|
||||
* that will be generated when menu item is selected, or (2) any other
|
||||
* value (preferabley zero) that indicates that standard, built-in
|
||||
* value (preferably zero) that indicates that standard, built-in
|
||||
* event handling should be used.
|
||||
*/
|
||||
|
||||
|
@ -252,7 +252,7 @@ eMBErrorCode eMBPoll(void);
|
||||
* otherwise the Run Indicator Status is 0x00.
|
||||
* pucAdditional Values which should be returned in the Additional
|
||||
* bytes of the Report Slave ID response.
|
||||
* usAdditionalLen Length of the buffer <code>pucAdditonal</code>.
|
||||
* usAdditionalLen Length of the buffer <code>pucAdditional</code>.
|
||||
*
|
||||
* Returned Value:
|
||||
* If the static buffer defined by CONFIG_MB_FUNC_OTHER_REP_SLAVEID_BUF
|
||||
|
@ -91,7 +91,7 @@
|
||||
/* CONFIG_SYSTEM_ZMODEM_RCVSAMPLE indicates the local sender can sample
|
||||
* reverse channel while sending. This means in particular, that Zmodem can
|
||||
* 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 asynchronous incoming data
|
||||
* notification is needed to support interruption of the file transfer by
|
||||
* the remote receiver.
|
||||
*
|
||||
@ -297,7 +297,7 @@ ZMSHANDLE zms_initialize(int remfd);
|
||||
* Send a file.
|
||||
*
|
||||
* Input Parameters:
|
||||
* handle - Handle previoulsy returned by xms_initialize()
|
||||
* handle - Handle previously returned by xms_initialize()
|
||||
* filename - The name of the local file to transfer
|
||||
* rfilename - The name of the remote file name to create
|
||||
* option - Describes optional transfer behavior
|
||||
|
@ -211,7 +211,7 @@ static void foc_modulation_vbase_get_b16(FAR foc_handler_b16_t *h,
|
||||
* Name: foc_modulation_current_b16
|
||||
*
|
||||
* Description:
|
||||
* Correct current samples accrding to the SVM3 modulation state (fixed16)
|
||||
* Correct current samples according to the SVM3 modulation state (fixed16)
|
||||
*
|
||||
* Input Parameter:
|
||||
* h - pointer to FOC handler
|
||||
|
@ -211,7 +211,7 @@ static void foc_modulation_vbase_get_f32(FAR foc_handler_f32_t *h,
|
||||
* Name: foc_modulation_current_f32
|
||||
*
|
||||
* Description:
|
||||
* Correct current samples accrding to the SVM3 modulation state (float32)
|
||||
* Correct current samples according to the SVM3 modulation state (float32)
|
||||
*
|
||||
* Input Parameter:
|
||||
* h - pointer to FOC handler
|
||||
|
@ -41,7 +41,7 @@ config INTERPRETERS_WAMR_LIBC_BUILTIN
|
||||
default n
|
||||
|
||||
config INTERPRETERS_WAMR_MULTI_MODULE
|
||||
bool "Enable mutli module support"
|
||||
bool "Enable multi module support"
|
||||
default n
|
||||
|
||||
config INTERPRETERS_WAMR_MINILOADER
|
||||
|
@ -96,7 +96,7 @@ static uint8_t netlib_msbits8(uint8_t byval)
|
||||
* Name: netlib_msbits16
|
||||
*
|
||||
* Description:
|
||||
* Count the number of leading '1' bits in a 16-bit half-workd
|
||||
* Count the number of leading '1' bits in a 16-bit half-word
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
|
@ -130,7 +130,7 @@ errout:
|
||||
static void usage(FAR const char *progname)
|
||||
{
|
||||
fprintf(stderr, "Usage: %s [-4|-6|-r]\n", progname);
|
||||
fprintf(stderr, "Remote Execution Deamon:\n"
|
||||
fprintf(stderr, "Remote Execution Daemon:\n"
|
||||
" -4, Specify address family to AF_INET(default)\n"
|
||||
" -6, Specify address family to AF_INET6\n"
|
||||
" -r, Specify address family to AF_RPMSG\n");
|
||||
|
@ -87,7 +87,7 @@ static inline int tftp_parsedatapacket(FAR const uint8_t *packet,
|
||||
* Input Parameters:
|
||||
* remote - The name of the file on the TFTP server.
|
||||
* addr - The IP address of the server in network order
|
||||
* binary - TRUE: Perform binary ('octect') transfer
|
||||
* binary - TRUE: Perform binary ('octet') transfer
|
||||
* FALSE: Perform text ('netascii') transfer
|
||||
* cb - callback that will be called with data packets
|
||||
* ctx - pointer passed to the previous callback
|
||||
|
@ -1273,7 +1273,7 @@ int nsh_catfile(FAR struct nsh_vtbl_s *vtbl, FAR const char *cmd,
|
||||
*
|
||||
* Description:
|
||||
* Read a small file into a user-provided buffer. The data is assumed to
|
||||
* be a string and is guaranteed to be NUL-termined. An error occurs if
|
||||
* be a string and is guaranteed to be NULL-terminated. An error occurs if
|
||||
* the file content (+terminator) will not fit into the provided 'buffer'.
|
||||
*
|
||||
* Input Parameters:
|
||||
|
@ -57,16 +57,16 @@
|
||||
#define UNAME_KERNEL (1 << 0)
|
||||
#define UNAME_NODE (1 << 1)
|
||||
#define UNAME_RELEASE (1 << 2)
|
||||
#define UNAME_VERISON (1 << 3)
|
||||
#define UNAME_VERSION (1 << 3)
|
||||
#define UNAME_MACHINE (1 << 4)
|
||||
#define UNAME_PLATFORM (1 << 5)
|
||||
#define UNAME_UNKNOWN (1 << 6)
|
||||
|
||||
#ifdef CONFIG_NET
|
||||
# define UNAME_ALL (UNAME_KERNEL | UNAME_NODE | UNAME_RELEASE | \
|
||||
UNAME_VERISON | UNAME_MACHINE | UNAME_PLATFORM)
|
||||
UNAME_VERSION | UNAME_MACHINE | UNAME_PLATFORM)
|
||||
#else
|
||||
# define UNAME_ALL (UNAME_KERNEL | UNAME_RELEASE | UNAME_VERISON | \
|
||||
# define UNAME_ALL (UNAME_KERNEL | UNAME_RELEASE | UNAME_VERSION | \
|
||||
UNAME_MACHINE | UNAME_PLATFORM)
|
||||
#endif
|
||||
|
||||
@ -408,7 +408,7 @@ int cmd_uname(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
|
||||
break;
|
||||
|
||||
case 'v':
|
||||
set |= UNAME_VERISON;
|
||||
set |= UNAME_VERSION;
|
||||
break;
|
||||
|
||||
case 'm':
|
||||
|
@ -50,7 +50,7 @@ config EMBEDLOG_ENABLE_OUT_FILE
|
||||
default n
|
||||
---help---
|
||||
If enabled, you will be able to store logs in a file (like on
|
||||
sdcard). Log rotation is available as well. LIbrary automatically
|
||||
sdcard). Log rotation is available as well. Library automatically
|
||||
handles cases when files are deleted or mountpoint disappears and
|
||||
appear again (like sd card switch). Disabling this will result in
|
||||
smaller code.
|
||||
@ -209,7 +209,7 @@ config EMBEDLOG_DEMO_PROGRAMS
|
||||
default n
|
||||
---help---
|
||||
Compile demo programs that visualise how embedlog works. Also good
|
||||
for checking if embedlog behaves corectly.
|
||||
for checking if embedlog behaves correctly.
|
||||
|
||||
if EMBEDLOG_DEMO_PROGRAMS
|
||||
|
||||
|
@ -109,7 +109,7 @@ config SYSTEM_ZMODEM_RCVSAMPLE
|
||||
Local sender can sample reverse channel while sending. This means
|
||||
in particular, that Zmodem can detect if data is received from the
|
||||
remote receiver while streaming a file to the remote receiver.
|
||||
Support for such asychronous incoming data notification is needed to
|
||||
Support for such asynchronous incoming data notification is needed to
|
||||
support interruption of the file transfer by the remote receiver.
|
||||
|
||||
This capapability is not yet supported. There are only incomplete
|
||||
|
@ -48,7 +48,7 @@
|
||||
|
||||
/* ZModem *******************************************************************/
|
||||
|
||||
/* Zmodem ZRINIT flags. These bits describe the cababilities of the receiver.
|
||||
/* Zmodem ZRINIT flags. These bits describe the capabilities of the receiver.
|
||||
* Reference: Paragraph 11.2:
|
||||
*/
|
||||
|
||||
|
@ -132,7 +132,7 @@ extern const struct cmd *g_cmd_table[];
|
||||
|
||||
/* the simple command line parser */
|
||||
|
||||
static inline const char *get_fisrt_arg(char *cmdline)
|
||||
static inline const char *get_first_arg(char *cmdline)
|
||||
{
|
||||
return strtok(cmdline, " \t,()\n") ?: "";
|
||||
}
|
||||
@ -150,7 +150,7 @@ inline const char *get_next_arg()
|
||||
{
|
||||
/* 0 mean from the end of last token */
|
||||
|
||||
return get_fisrt_arg(0);
|
||||
return get_first_arg(0);
|
||||
}
|
||||
|
||||
template < >
|
||||
|
@ -52,7 +52,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
while (prompt("$", cmdline, sizeof(cmdline)))
|
||||
{
|
||||
const char *name = get_fisrt_arg(cmdline);
|
||||
const char *name = get_first_arg(cmdline);
|
||||
if (name != 0 && *name != 0)
|
||||
{
|
||||
int res = -ENOSYS;
|
||||
|
@ -30,7 +30,7 @@
|
||||
#include "ostest.h"
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor DEFINTIONS
|
||||
* Pre-processor DEFINITIONS
|
||||
****************************************************************************/
|
||||
|
||||
#define SHORT_RESULT_A(n) \
|
||||
|
@ -53,7 +53,7 @@ static volatile int g_thread_cpu[CONFIG_TESTING_SMP_NBARRIER_THREADS + 1];
|
||||
*
|
||||
* Description:
|
||||
* This depends on internal OS interfaces that are not generally available
|
||||
* but can be accessed (albeit inappropriatley) in a FLAT build
|
||||
* but can be accessed (albeit inappropriately) in a FLAT build
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user