From a7df4e51753a35f8f66a1dde166fe4d331da063c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ole=20S=C3=A6ther?= Date: Thu, 24 Aug 2023 12:46:03 +0200 Subject: [PATCH] samples: Fixed typos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixed typos in various files under samples. Signed-off-by: Ole Sæther --- samples/bluetooth/central_otc/README.rst | 2 +- samples/bluetooth/peripheral_hids/Kconfig | 2 +- samples/boards/reel_board/mesh_badge/README.rst | 2 +- samples/drivers/fpga/fpga_controller/README.rst | 4 ++-- samples/sensor/mcux_acmp/README.rst | 2 +- samples/sensor/th02/README.rst | 2 +- samples/subsys/mgmt/hawkbit/README.rst | 2 +- samples/userspace/shared_mem/src/main.c | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) diff --git a/samples/bluetooth/central_otc/README.rst b/samples/bluetooth/central_otc/README.rst index 29de983005..59ef2e2802 100644 --- a/samples/bluetooth/central_otc/README.rst +++ b/samples/bluetooth/central_otc/README.rst @@ -9,7 +9,7 @@ Overview Similar to the :ref:`Central ` sample, except that this application specifically looks for the OTS (Object Transfer) GATT Service. And this sample is to select object sequentially, to read metadata, to write data, -to read data, and to calculate checksum of selected ojects. +to read data, and to calculate checksum of selected objects. Requirements ************ diff --git a/samples/bluetooth/peripheral_hids/Kconfig b/samples/bluetooth/peripheral_hids/Kconfig index efea45cdea..9aa1093e37 100644 --- a/samples/bluetooth/peripheral_hids/Kconfig +++ b/samples/bluetooth/peripheral_hids/Kconfig @@ -8,6 +8,6 @@ config SAMPLE_BT_USE_AUTHENTICATION default y help Enable the passkey authentication callback and register the GATT - read and and write attributes as authentication required. + read and write attributes as authentication required. source "Kconfig.zephyr" diff --git a/samples/boards/reel_board/mesh_badge/README.rst b/samples/boards/reel_board/mesh_badge/README.rst index 6097af23b8..d5973ab8e9 100644 --- a/samples/boards/reel_board/mesh_badge/README.rst +++ b/samples/boards/reel_board/mesh_badge/README.rst @@ -9,7 +9,7 @@ Overview This sample app for the reel board showcases Bluetooth mesh The app starts off as a regular Bluetooth GATT peripheral application. -Install the the "nRF Connect" app on your phone (available both for +Install the "nRF Connect" app on your phone (available both for Android and iOS) to access the service that the app exposes. The service can also be accessed with any Bluetooth LE GATT client from your PC, however these instructions focus on the necessary steps for phones. diff --git a/samples/drivers/fpga/fpga_controller/README.rst b/samples/drivers/fpga/fpga_controller/README.rst index 4c77c2f614..82b4e68abc 100644 --- a/samples/drivers/fpga/fpga_controller/README.rst +++ b/samples/drivers/fpga/fpga_controller/README.rst @@ -6,7 +6,7 @@ Zephyr FPGA controller Overview ******** This module is an FPGA driver that can easily load a bitstream, reset it, check its status, enable or disable the FPGA. -This sample demonstrates how to use the FPGA driver API and the the FPGA controller shell subsystem. +This sample demonstrates how to use the FPGA driver API and the FPGA controller shell subsystem. Currently the sample works with `Quicklogic Quickfeather board`_. Requirements @@ -83,7 +83,7 @@ To upload the bitstream again you need to reset the FPGA: You can also use your own bitstream. To load a bitstream into device memory, use `devmem load` command. -It is important to use the -e option when sending a bistream via `xxd`: +It is important to use the -e option when sending a bitstream via `xxd`: .. code-block:: console diff --git a/samples/sensor/mcux_acmp/README.rst b/samples/sensor/mcux_acmp/README.rst index 832a3098db..713cd1b82e 100644 --- a/samples/sensor/mcux_acmp/README.rst +++ b/samples/sensor/mcux_acmp/README.rst @@ -9,7 +9,7 @@ Overview This sample show how to use the NXP MCUX Analog Comparator (ACMP) driver. The sample supports the :ref:`twr_ke18f`, :ref:`mimxrt1170_evk`. -The input voltage for the the negative input of the analog comparator is +The input voltage for the negative input of the analog comparator is provided by the ACMP Digital-to-Analog Converter (DAC). The input voltage for the positive input can be adjusted by turning the on-board potentiometer for :ref:`twr_ke18f` board, for :ref:`mimxrt1170_evk` the voltage signal is diff --git a/samples/sensor/th02/README.rst b/samples/sensor/th02/README.rst index 077cebc624..4051cac522 100644 --- a/samples/sensor/th02/README.rst +++ b/samples/sensor/th02/README.rst @@ -26,7 +26,7 @@ Wiring The easiest way to get this wired is to use the Grove shield and connect both devices to I2C. No additional wiring is required. Depending on the board you are -using you might need to connect two 10K ohm resistors to SDL and and SDA (I2C). +using you might need to connect two 10K ohm resistors to SDL and SDA (I2C). The LCD display requires 5 volts, so the voltage switch on the shield needs to be on 5v. diff --git a/samples/subsys/mgmt/hawkbit/README.rst b/samples/subsys/mgmt/hawkbit/README.rst index c1371f0edf..1a0e095529 100644 --- a/samples/subsys/mgmt/hawkbit/README.rst +++ b/samples/subsys/mgmt/hawkbit/README.rst @@ -116,7 +116,7 @@ of your board. Once the image is flashed and booted, the sample will print the image build time to the console. After it connects to the internet, in hawkbit server UI, -you should see the the frdm_k64f show up in the Targets pane. It's time to +you should see the frdm_k64f show up in the Targets pane. It's time to upload a firmware binary to the server, and update it using this UI. Step 7: Building and signing the test image diff --git a/samples/userspace/shared_mem/src/main.c b/samples/userspace/shared_mem/src/main.c index 7cbc2c7b39..7eaecfc254 100644 --- a/samples/userspace/shared_mem/src/main.c +++ b/samples/userspace/shared_mem/src/main.c @@ -200,7 +200,7 @@ int main(void) /* * The enc thread. - * Function: initialize the the simulation of the wheels. + * Function: initialize the simulation of the wheels. * Copy memory from pt thread and encrypt to a local buffer * then copy to the ct thread. */