style/spell: fix spell checker error

To make checker happy:

arch/arm/src/sama5/sam_classd.c:997: nd ==> and, 2nd
arch/arm/src/sama5/sam_classd.c:1362: levl ==> level
drivers/sensors/apds9922.c:286: persistance ==> persistence

Signed-off-by: chao an <anchao.archer@bytedance.com>
This commit is contained in:
chao an
2025-10-16 10:52:00 +08:00
committed by Xiang Xiao
parent 87f134cfaa
commit a8af5f3d0e
3 changed files with 36 additions and 36 deletions

View File

@@ -198,7 +198,7 @@ struct apds9922_als_setup_s
thresh; /* Upper and lower thresholds */
uint8_t thresh_var; /* threshold variation */
int int_mode; /* Interrupt mode */
uint8_t persistance; /* Num events before interrupt */
uint8_t persistence; /* Num events before interrupt */
uint32_t als_factor; /* Lux correction factor applied */
uint32_t range_lim; /* % limit of ADC full range
* allowed in autogain mode.
@@ -221,7 +221,7 @@ struct apds9922_ps_setup_s
thresh; /* Upper and lower thresholds */
uint16_t cancel_lev; /* Intelligent cancellation lev. */
int int_mode; /* Interrupt mode */
uint8_t persistance; /* Num events before interrupt */
uint8_t persistence; /* Num events before interrupt */
int notify; /* States that cause a notify */
};