Hi Thomas,
On Thu, Jan 16, 2020 at 8:42 AM wrote:
>
> From: Yegor Yefremov
>
> Signed-off-by: Yegor Yefremov
> ---
> cmake/FindConfuse.cmake | 2 +-
> examples/async.c| 4 ++--
> examples/serial_test.c | 2 +-
> examples/stream_test.c | 4 ++--
> ftdipp/CMakeLists.txt | 2 +-
> ftdipp/ftdi.cpp | 2 +-
I have found out that both ftdipp/ftdi.cpp and ftdipp/ftdi.hpp are
UTF-8 encoded. How can we fix this?
Yegor
> python/examples/cbus.py | 2 +-
> src/CMakeLists.txt | 2 +-
> src/ftdi.c | 2 +-
> src/ftdi_i.h| 6 +++---
> 10 files changed, 14 insertions(+), 14 deletions(-)
>
> diff --git a/cmake/FindConfuse.cmake b/cmake/FindConfuse.cmake
> index ab25eef..f6af7d5 100644
> --- a/cmake/FindConfuse.cmake
> +++ b/cmake/FindConfuse.cmake
> @@ -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)
>
>
> #=
> diff --git a/examples/async.c b/examples/async.c
> index 18989c1..241bb7f 100644
> --- a/examples/async.c
> +++ b/examples/async.c
> @@ -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]);
> diff --git a/examples/serial_test.c b/examples/serial_test.c
> index 289dd97..0631504 100644
> --- a/examples/serial_test.c
> +++ b/examples/serial_test.c
> @@ -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
> *
> */
> diff --git a/examples/stream_test.c b/examples/stream_test.c
> index 43abea9..10e0977 100644
> --- a/examples/stream_test.c
> +++ b/examples/stream_test.c
> @@ -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"
> diff --git a/ftdipp/CMakeLists.txt b/ftdipp/CMakeLists.txt
> index a9e3418..fac5bcc 100644
> --- a/ftdipp/CMakeLists.txt
> +++ b/ftdipp/CMakeLists.txt
> @@ -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
> diff --git a/ftdipp/ftdi.cpp b/ftdipp/ftdi.cpp
> index dd777be..f82b865 100644
> --- a/ftdipp/ftdi.cpp
> +++ b/ftdipp/ftdi.cpp
> @@ -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
> diff --git a/python/examples/cbus.py b/python/examples/cbus.py
> index 3ab9512..9c0356c 100644
> --- a/python/examples/cbus.py
> +++ b/python/examples/cbus.py
> @@ -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 (accommoda