From 4a3bb45a565084d59c36ea997529e5d7f531cfc3 Mon Sep 17 00:00:00 2001 From: Steve Evans Date: Thu, 28 Apr 2022 20:00:47 +0100 Subject: [PATCH] Fix comment typo --- src/main/drivers/accgyro/accgyro_mpu.c | 2 +- src/main/drivers/accgyro/accgyro_spi_bmi270.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/drivers/accgyro/accgyro_mpu.c b/src/main/drivers/accgyro/accgyro_mpu.c index fced063f3..110a62cd0 100644 --- a/src/main/drivers/accgyro/accgyro_mpu.c +++ b/src/main/drivers/accgyro/accgyro_mpu.c @@ -131,7 +131,7 @@ static void mpuIntExtiHandler(extiCallbackRec_t *cb) { gyroDev_t *gyro = container_of(cb, gyroDev_t, exti); - // Ideally we'd use a time to capture such information, but unfortunately the port used for EXTI interrupt does + // Ideally we'd use a timer to capture such information, but unfortunately the port used for EXTI interrupt does // not have an associated timer uint32_t nowCycles = getCycleCounter(); int32_t gyroLastPeriod = cmpTimeCycles(nowCycles, gyro->gyroLastEXTI); diff --git a/src/main/drivers/accgyro/accgyro_spi_bmi270.c b/src/main/drivers/accgyro/accgyro_spi_bmi270.c index 047c32ab5..cd311938e 100644 --- a/src/main/drivers/accgyro/accgyro_spi_bmi270.c +++ b/src/main/drivers/accgyro/accgyro_spi_bmi270.c @@ -294,7 +294,7 @@ busStatus_e bmi270Intcallback(uint32_t arg) void bmi270ExtiHandler(extiCallbackRec_t *cb) { gyroDev_t *gyro = container_of(cb, gyroDev_t, exti); - // Ideally we'd use a time to capture such information, but unfortunately the port used for EXTI interrupt does + // Ideally we'd use a timer to capture such information, but unfortunately the port used for EXTI interrupt does // not have an associated timer uint32_t nowCycles = getCycleCounter(); gyro->gyroSyncEXTI = gyro->gyroLastEXTI + gyro->gyroDmaMaxDuration; -- 2.11.4.GIT