mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 12:33:27 +08:00
drivers/can: fix codespell errors
drivers/can: fix codespell errors Signed-off-by: raiden00pl <raiden00@railab.me>
This commit is contained in:
committed by
Alan C. Assis
parent
5d95d0871f
commit
dc73324ed0
+4
-4
@@ -317,7 +317,7 @@ static int can_close(FAR struct file *filep)
|
||||
|
||||
nxsem_post(&fifo->rx_sem);
|
||||
|
||||
/* Notify specfic poll/select waiter that they can read from the
|
||||
/* Notify specific poll/select waiter that they can read from the
|
||||
* cd_recv buffer
|
||||
*/
|
||||
|
||||
@@ -904,7 +904,7 @@ static int can_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
|
||||
case CANIOC_SET_TRANSVSTATE:
|
||||
{
|
||||
/* if we don't use dev->cd_transv->cts_ops, please initlize
|
||||
* this poniter to NULL in lower board code when Board reset.
|
||||
* this pointer to NULL in lower board code when Board reset.
|
||||
*/
|
||||
|
||||
if (dev->cd_transv && dev->cd_transv->ct_ops
|
||||
@@ -927,7 +927,7 @@ static int can_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
|
||||
case CANIOC_GET_TRANSVSTATE:
|
||||
{
|
||||
/* if we don't use dev->cd_transv->cts_ops, please initlize
|
||||
* this poniter to NULL in lower board code when Board reset.
|
||||
* this pointer to NULL in lower board code when Board reset.
|
||||
*/
|
||||
|
||||
if (dev->cd_transv && dev->cd_transv->ct_ops
|
||||
@@ -1275,7 +1275,7 @@ int can_receive(FAR struct can_dev_s *dev, FAR struct can_hdr_s *hdr,
|
||||
nxsem_post(&fifo->rx_sem);
|
||||
}
|
||||
|
||||
/* Notify specfic poll/select waiter that they can read from the
|
||||
/* Notify specific poll/select waiter that they can read from the
|
||||
* cd_recv buffer
|
||||
*/
|
||||
|
||||
|
||||
@@ -1703,7 +1703,7 @@ static int ctucanfd_interrupt(int irq, FAR void *context, FAR void *arg)
|
||||
|
||||
if (regval != 0)
|
||||
{
|
||||
/* Disable RX interrupts until we handle all interrups */
|
||||
/* Disable RX interrupts until we handle all interrupts */
|
||||
|
||||
ctucanfd_rxint(&priv->devs[i], false);
|
||||
|
||||
@@ -1757,10 +1757,10 @@ static void ctucanfd_init(FAR struct ctucanfd_driver_s *priv)
|
||||
}
|
||||
|
||||
/*****************************************************************************
|
||||
* Name: ctucanfd_ctucanfd_proble
|
||||
* Name: ctucanfd_ctucanfd_probe
|
||||
*
|
||||
* Description:
|
||||
* Proble CTUCANFD devices on board and return the number of vailalbe chips.
|
||||
* Probe CTUCANFD devices on board and return the number of vailalbe chips.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
||||
@@ -371,7 +371,7 @@ static void kvaser_setup(FAR struct kvaser_sja_s *priv)
|
||||
{
|
||||
/* REVISIT: missing bus timings configuration and output control.
|
||||
*
|
||||
* This driver was verified on QEMU with virtual host CAN netwrok,
|
||||
* This driver was verified on QEMU with virtual host CAN network,
|
||||
* which doesn't need bus timings and output control registers set.
|
||||
* For real hardware, these registers must be properly configured !
|
||||
*/
|
||||
@@ -822,7 +822,7 @@ static void kvaser_chardev_receive(FAR struct kvaser_sja_s *priv)
|
||||
canerr("ERROR: Received message with extended"
|
||||
" identifier. Dropped\n");
|
||||
|
||||
/* Relese RX buffer */
|
||||
/* Release RX buffer */
|
||||
|
||||
kvaser_putreg_sja(priv, SJA1000_CMD_REG, SJA1000_RELEASE_BUF);
|
||||
|
||||
@@ -1593,7 +1593,7 @@ static void kvaser_init(FAR struct kvaser_driver_s *priv)
|
||||
* Name: kvaser_count_sja
|
||||
*
|
||||
* Description:
|
||||
* Proble SJA1000 devices on board and return the number of vailalbe chips.
|
||||
* Probe SJA1000 devices on board and return the number of vailalbe chips.
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user