Fix typos
authorYegor Yefremov <yegorslists@googlemail.com>
Thu, 16 Jan 2020 07:42:21 +0000 (08:42 +0100)
committerThomas Jarosch <thomas.jarosch@intra2net.com>
Mon, 20 Jan 2020 16:54:21 +0000 (17:54 +0100)
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>

cmake/FindConfuse.cmake
examples/async.c
examples/serial_test.c
examples/stream_test.c
ftdipp/CMakeLists.txt
ftdipp/ftdi.cpp
python/examples/cbus.py
src/CMakeLists.txt
src/ftdi.c
src/ftdi_i.h

index ab25eef..f6af7d5 100644 (file)
@@ -6,7 +6,7 @@
 #  CONFUSE_INCLUDE_DIR - where to find confuse.h
 #  CONFUSE_INCLUDE_DIRS - confuse includes
 #  CONFUSE_LIBRARY - where to find the Confuse library
-#  CONFUSE_LIBRARIES - aditional libraries
+#  CONFUSE_LIBRARIES - additional libraries
 #  CONFUSE_ROOT_DIR - root dir (ex. /usr/local)
 
 #=============================================================================
index 18989c1..241bb7f 100644 (file)
@@ -3,7 +3,7 @@
    This program is distributed under the GPL, version 2
 */
 
-/* This programm switches to MPSSE mode, and sets and then reads back
+/* This program switches to MPSSE mode, and sets and then reads back
  * the high byte 3 times with three different values.
  * The expected read values are hard coded in ftdi_init
  * with 0x00, 0x55 and 0xaa
@@ -167,7 +167,7 @@ int main(int argc, char **argv)
             }
         }
         if (i < 1) {
-            printf("Async read unsuccessfull\n");
+            printf("Async read unsuccessful\n");
         }
     }
     printf("Read %02x %02x %02x\n", data[0], data[1], data[2]);
index 289dd97..0631504 100644 (file)
@@ -134,7 +134,7 @@ int main(int argc, char **argv)
      *
      * TODO: Make these parameters settable from the command line
      *
-     * Parameters are choosen that sending a continous stream of 0x55 
+     * Parameters are chosen that sending a continuous stream of 0x55 
      * should give a square wave
      *
      */
index 43abea9..10e0977 100644 (file)
@@ -10,7 +10,7 @@
  * 3* uint32_t dont_care
  *
  * After start, data will be read in streaming until the program is aborted
- * Progess information wil be printed out
+ * Progress information will be printed out
  * If a filename is given on the command line, the data read will be
  * written to that file
  *
@@ -52,7 +52,7 @@ usage(const char *argv0)
            "[-n] don't check for special block structure\n"
            "\n"
            "If some filename is given, write data read to that file\n"
-           "Progess information is printed each second\n"
+           "Progress information is printed each second\n"
            "Abort with ^C\n"
            "\n"
            "Options:\n"
index a9e3418..fac5bcc 100644 (file)
@@ -14,7 +14,7 @@ include_directories(${Boost_INCLUDE_DIRS})
 # Shared library
 add_library(ftdipp1 SHARED ${cpp_sources})
 
-math(EXPR VERSION_FIXUP "${MAJOR_VERSION} + 1")    # Compatiblity with previous releases
+math(EXPR VERSION_FIXUP "${MAJOR_VERSION} + 1")    # Compatibility with previous releases
 set_target_properties(ftdipp1 PROPERTIES VERSION ${VERSION_FIXUP}.${MINOR_VERSION}.0 SOVERSION 3)
 
 # Prevent clobbering each other during the build
index dd777be..f82b865 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
-                          ftdi.cpp  -  C++ wraper for libftdi
+                          ftdi.cpp  -  C++ wrapper for libftdi
                              -------------------
     begin                : Mon Oct 13 2008
     copyright            : (C) 2008-2017 by Marek VavruĊĦa / libftdi developers
index 3ab9512..9c0356c 100644 (file)
@@ -6,7 +6,7 @@ This program is distributed under the GPL, version 2.
 
 Demonstrate how to configure the FT230X USB UART bridge as follows:
   max_power     500 mA
-  CBUS3         Drive 1 (accomodate PCB error)
+  CBUS3         Drive 1 (accommodate PCB error)
 """
 
 import sys
index 9fd86a6..17b3617 100644 (file)
@@ -23,7 +23,7 @@ set(c_headers     ${CMAKE_CURRENT_SOURCE_DIR}/ftdi.h CACHE INTERNAL "List of c h
 
 add_library(ftdi1 SHARED ${c_sources})
 
-math(EXPR VERSION_FIXUP "${MAJOR_VERSION} + 1")    # Compatiblity with previous releases
+math(EXPR VERSION_FIXUP "${MAJOR_VERSION} + 1")    # Compatibility with previous releases
 set_target_properties(ftdi1 PROPERTIES VERSION ${VERSION_FIXUP}.${MINOR_VERSION}.0 SOVERSION 2)
 # Prevent clobbering each other during the build
 set_target_properties ( ftdi1 PROPERTIES CLEAN_DIRECT_OUTPUT 1 )
index 9495fb5..d2f4ce4 100644 (file)
@@ -1992,7 +1992,7 @@ int ftdi_write_data_get_chunksize(struct ftdi_context *ftdi, unsigned int *chunk
 /**
     Reads data in chunks (see ftdi_read_data_set_chunksize()) from the chip.
 
-    Automatically strips the two modem status bytes transfered during every read.
+    Automatically strips the two modem status bytes transferred during every read.
 
     \param ftdi pointer to ftdi_context
     \param buf Buffer to store data in
index e7355aa..f62795f 100644 (file)
@@ -91,11 +91,11 @@ struct ftdi_eeprom
     /* Special function of FT232R/FT232H devices (and possibly others as well) */
     /** CBUS pin function. See CBUS_xxx defines. */
     int cbus_function[10];
-    /** Select hight current drive on R devices. */
+    /** Select high current drive on R devices. */
     int high_current;
-    /** Select hight current drive on A channel (2232C */
+    /** Select high current drive on A channel (2232C */
     int high_current_a;
-    /** Select hight current drive on B channel (2232C). */
+    /** Select high current drive on B channel (2232C). */
     int high_current_b;
     /** Select inversion of data lines (bitmask). */
     int invert;