From f7ab66fa866e94eb110fa8dbc5473e95dca18c12 Mon Sep 17 00:00:00 2001 From: chao an Date: Tue, 17 Dec 2024 15:51:59 +0800 Subject: [PATCH] drivers/can: fix typo specfic -> specific Signed-off-by: chao an --- Documentation/ReleaseNotes/NuttX-12.3.0 | 2 +- drivers/can/can.c | 4 ++-- include/nuttx/can/can.h | 8 ++++---- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Documentation/ReleaseNotes/NuttX-12.3.0 b/Documentation/ReleaseNotes/NuttX-12.3.0 index e5bcd17ea3..fee7a34edc 100644 --- a/Documentation/ReleaseNotes/NuttX-12.3.0 +++ b/Documentation/ReleaseNotes/NuttX-12.3.0 @@ -774,7 +774,7 @@ Boards With Improvements * [#9884](https://github.com/apache/nuttx/pull/9884) xtensa: esp32: esp32-devkitc: Refresh wifi_smp_rmt config * [#9709](https://github.com/apache/nuttx/pull/9709) xtensa: esp32: esp32-devkitc: wamr_wasi_debug: enable wasi-threads * [#9752](https://github.com/apache/nuttx/pull/9752) xtensa: esp32s2: Add basic support to SPIFLASH -* [#9868](https://github.com/apache/nuttx/pull/9868) xtensa: esp32s3: Do not include specfic board in commom +* [#9868](https://github.com/apache/nuttx/pull/9868) xtensa: esp32s3: Do not include specific board in commom * [#9870](https://github.com/apache/nuttx/pull/9870) xtensa: esp32s3: Some follow-up changes for ESP32s3 32M flash support * [#10748](https://github.com/apache/nuttx/pull/10748) xtensa: esp32s3: esp32s3-devkit:disable esp32s3-devkit:ksta_softap spinlock config * [#10588](https://github.com/apache/nuttx/pull/10588) xtensa: esp32s3: esp32s3-devkit:Add board GPIO support diff --git a/drivers/can/can.c b/drivers/can/can.c index b319b2aec6..b262e6985d 100644 --- a/drivers/can/can.c +++ b/drivers/can/can.c @@ -884,7 +884,7 @@ static int can_ioctl(FAR struct file *filep, int cmd, unsigned long arg) } break; - /* Set specfic can transceiver state */ + /* Set specific can transceiver state */ case CANIOC_SET_TRANSVSTATE: { @@ -907,7 +907,7 @@ static int can_ioctl(FAR struct file *filep, int cmd, unsigned long arg) } break; - /* Get specfic can transceiver state */ + /* Get specific can transceiver state */ case CANIOC_GET_TRANSVSTATE: { diff --git a/include/nuttx/can/can.h b/include/nuttx/can/can.h index 9718f6d9b7..7651cc8d4f 100644 --- a/include/nuttx/can/can.h +++ b/include/nuttx/can/can.h @@ -265,7 +265,7 @@ * Dependencies: None * * CANIOC_SET_STATE - * Description: Set specfic can controller state + * Description: Set specific can controller state * * Argument: A pointer to an int type that describes the CAN * controller state. @@ -275,7 +275,7 @@ * Dependencies: None * * CANIOC_GET_STATE - * Description: Get specfic can controller state + * Description: Get specific can controller state * * Argument: A pointer to an int type that describes the CAN * controller state. @@ -285,7 +285,7 @@ * Dependencies: None * * CANIOC_SET_TRANSV_STATE - * Description: Set specfic can transceiver state + * Description: Set specific can transceiver state * * Argument: A pointer to an int type that describes the CAN * transceiver state. @@ -295,7 +295,7 @@ * Dependencies: None * * CANIOC_GET_TRANSV_STATE - * Description: Get specfic can transceiver state + * Description: Get specific can transceiver state * * Argument: A pointer to an int type that describes the CAN * transceiver state.