From 5ebe48ce425523433ff34009426c4c35ed0ada46 Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Wed, 23 Oct 2019 21:20:31 +0200 Subject: [PATCH] drivers/sht3x: fix typos --- drivers/include/sht3x.h | 2 +- drivers/sht3x/sht3x.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/include/sht3x.h b/drivers/include/sht3x.h index f4361a0fbc..fbc7491b1b 100644 --- a/drivers/include/sht3x.h +++ b/drivers/include/sht3x.h @@ -127,7 +127,7 @@ typedef struct { int sht3x_init (sht3x_dev_t *dev, const sht3x_params_t *params); /** - * @brief Read SHT3x measurment results (temperature and humidity) + * @brief Read SHT3x measurement results (temperature and humidity) * * The function returns the results of one measurement once they are available. * diff --git a/drivers/sht3x/sht3x.c b/drivers/sht3x/sht3x.c index be92de32c5..c4bd7af0c8 100644 --- a/drivers/sht3x/sht3x.c +++ b/drivers/sht3x/sht3x.c @@ -231,7 +231,7 @@ static int _get_raw_data(sht3x_dev_t* dev, uint8_t* raw_data) return -SHT3X_ERROR_I2C; } - /* in single shot mode upate dmeasurement started flag of the driver */ + /* in single shot mode update dmeasurement started flag of the driver */ if (dev->mode == SHT3X_SINGLE_SHOT) { dev->meas_started = false; } @@ -342,7 +342,7 @@ static int _reset (sht3x_dev_t* dev) DEBUG_DEV("", dev); /* - * Sensor can only be soft resetted in idle mode. Therefore, we + * Sensor can only be soft reset in idle mode. Therefore, we * send a break and wait 1 ms. After that the sensor should be * in idle mode. We don't check I2C errors at this moment. */