mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 20:08:15 +08:00
style: fix spelling in code comments and strings
This commit is contained in:
@@ -32,7 +32,7 @@ ifeq ($(CONFIG_MOTOR_UPPER),y)
|
||||
CSRCS += motor.c
|
||||
endif
|
||||
|
||||
# Stepper upper half and lower halfs
|
||||
# Stepper upper half and lower halves
|
||||
|
||||
ifeq ($(CONFIG_STEPPER_UPPER),y)
|
||||
CSRCS += stepper.c
|
||||
|
||||
@@ -145,7 +145,7 @@ static void drv8301_read(FAR struct drv8301_priv_s *priv, uint8_t addr,
|
||||
regval = 0;
|
||||
SPI_RECVBLOCK(priv->spi, ®val, 1);
|
||||
|
||||
/* Retrun data */
|
||||
/* Return data */
|
||||
|
||||
*data = (regval & 0x7ff);
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@ int focpwr_initialize(FAR struct focpwr_dev_s *pwr,
|
||||
pwr->devno = devno;
|
||||
pwr->ops = ops;
|
||||
|
||||
/* Connet to FOC device */
|
||||
/* Connect to FOC device */
|
||||
|
||||
dev->pwr = pwr;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user