summaryrefslogtreecommitdiff
path: root/components/drivers
diff options
context:
space:
mode:
authortheqengineer <[email protected]>2026-02-13 15:04:27 +0800
committerRbb666 <[email protected]>2026-02-13 21:54:59 +0800
commit85b656b14dcfe8a3ab27c819e168dde082ab39ef (patch)
tree0f34ed6dc658d03b60d88273213cfefb4c684cb7 /components/drivers
parentb0c55f5bf57bd713108664fc789845dfa2a7f635 (diff)
chore: fix typo in components and libcpu
Diffstat (limited to 'components/drivers')
-rw-r--r--components/drivers/i2c/dev_i2c_bit_ops.c2
-rw-r--r--components/drivers/spi/dev_spi_msd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/components/drivers/i2c/dev_i2c_bit_ops.c b/components/drivers/i2c/dev_i2c_bit_ops.c
index 005cf9035e..0b055f1c87 100644
--- a/components/drivers/i2c/dev_i2c_bit_ops.c
+++ b/components/drivers/i2c/dev_i2c_bit_ops.c
@@ -265,7 +265,7 @@ static rt_ssize_t i2c_recv_bytes(struct rt_i2c_bus_device *bus,
ptr ++;
count --;
- LOG_D("recieve bytes: 0x%02x, %s",
+ LOG_D("receive bytes: 0x%02x, %s",
val, (flags & RT_I2C_NO_READ_ACK) ?
"(No ACK/NACK)" : (count ? "ACK" : "NACK"));
diff --git a/components/drivers/spi/dev_spi_msd.c b/components/drivers/spi/dev_spi_msd.c
index 8d81e348af..441e1ea5c5 100644
--- a/components/drivers/spi/dev_spi_msd.c
+++ b/components/drivers/spi/dev_spi_msd.c
@@ -199,7 +199,7 @@ static rt_err_t _send_cmd(
return -RT_ERROR;//fail
}
- //recieve other byte
+ //receive other byte
if (type == response_r1)
{
return RT_EOK;