From 6f6ca90270c2eeb545a5d1ee6318e05929d09a25 Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Wed, 23 Oct 2019 21:20:30 +0200 Subject: [PATCH] drivers/ccs811: fix typos --- drivers/ccs811/ccs811.c | 2 +- drivers/ccs811/doc.txt | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/ccs811/ccs811.c b/drivers/ccs811/ccs811.c index f7f8be78fb..5d4eaa8a54 100644 --- a/drivers/ccs811/ccs811.c +++ b/drivers/ccs811/ccs811.c @@ -186,7 +186,7 @@ int ccs811_set_mode(ccs811_t *dev, ccs811_mode_t mode) return -CCS811_ERROR_I2C; } - /* check whether setting measurement mode were succesfull */ + /* check whether setting measurement mode were successful */ if (_reg_read(dev, CCS811_REG_MEAS_MODE, (uint8_t *)®, 1) != CCS811_OK) { DEBUG_DEV("could not read new measurement mode " "from register CCS811_REG_MEAS_MODE", dev); diff --git a/drivers/ccs811/doc.txt b/drivers/ccs811/doc.txt index 57620b25f4..97129ca960 100644 --- a/drivers/ccs811/doc.txt +++ b/drivers/ccs811/doc.txt @@ -9,7 +9,7 @@ The driver is for the usage with [RIOT-OS](https://github.com/RIOT-OS/RIOT). -## Table of contets +## Table of contents 1. [Overview](#overview) 1. [About the sensor](#about) @@ -46,7 +46,7 @@ The sensor allows to - correct baseline automatically or manually - connect a NTC thermistor to provide means of calculating the local ambient temperature, -- power-save using a sleep mode and wakup feature. +- power-save using a sleep mode and wakeup feature. @note The sensor is connected to I2C interface and uses clock stretching. The I2C implementation of the MCU has to support clock stretching @@ -71,7 +71,7 @@ read raw and converted gas sensor data (eCO2, TVOC) | `ccs811` poling for new sensor gas data | `ccs811` power saving using sleep mode with wakeup | `ccs811` data ready and threshold interrupt handling | `ccs811_full` -ambient temperatur calculation with NTC | `ccs811_full` +ambient temperature calculation with NTC | `ccs811_full` compensate gas readings using an external sensor | `ccs811_full` manual baseline handling | `ccs811_full` @@ -448,7 +448,7 @@ defining according macros before including **ccs811_params.h**, for example: ``` Alternatively, the complete set of default configuration parameters could -also be overriden by a single definition, for example: +also be overridden by a single definition, for example: ``` #define CCS811_PARAMS { .i2c_dev = I2C, \ .i2c_addr = CCS811_I2C_ADDRESS_2, \