Skip to content

Commit 53d9421

Browse files
rgetzpcercuei
authored andcommitted
Fix random minor spelling errors
now that we have CI telling where the problems are, fix it. Signed-off-by: Robin Getz <[email protected]>
1 parent 7a1269e commit 53d9421

18 files changed

+22
-22
lines changed

CI/azure/generateDocumentationAndDeploy.sh.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ set -x
88
#
99
# Preconditions:
1010
# - Packages doxygen graphviz must be installed.
11-
# - An gh-pages branch should already exist. See below for mor info on how to
11+
# - An gh-pages branch should already exist. See below for more info on how to
1212
# create a gh-pages branch.
1313
#
1414
# This script will generate Doxygen documentation and push the documentation to

README_BUILD.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Cmake Options | Default | Description |
8282
`WITH_ZSTD` | OFF | Support for ZSTD compressed metadata |
8383

8484

85-
Options which effect iiod only. These are only avalible on Linux.
85+
Options which effect iiod only. These are only available on Linux.
8686

8787
Cmake Options | Default | Description |
8888
------------------- | ------- | ---------------------------------------------- |

bindings/cpp/iiopp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
* - Error handling (error codes are checked and turned into exceptions).
4141
* - Functions that may return \c NULL for "no string" are explicit by returning an <tt>std::optional</tt>.
4242
* - Iterators for idiomatic access to devices of context and channels of devices.
43-
* - Iterators for atributes.
43+
* - Iterators for attributes.
4444
* - Implicit conversion to the wrapped C-types, so C++ instances can easily be passed to the C-API.
4545
*
4646
* @warning All objects live in the @ref iiopp::Context that created them. When a context gets destroyed (when

bindings/csharp/Device.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ public Attr find_buffer_attribute(string attribute)
450450
return new DeviceBufferAttr(dev, Marshal.PtrToStringAnsi(attr));
451451
}
452452

453-
/// <summary>Finds the channel attribute coresponding to the given filename from the current device.</summary>
453+
/// <summary>Finds the channel attribute corresponding to the given filename from the current device.</summary>
454454
/// <param name="filename">The name of the attribute.</param>
455455
/// <param name="chn_ptr">Output variable. It will contain a pointer to the resulting <see cref="iio.Channel"/>.</param>
456456
/// <param name="attr">Output variable. It will contain a pointer to the resulting <see cref="iio.ChannelAttr"/>.</param>

bindings/csharp/mainpage.dox

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ open-source, commercial or non-commercial applications.
1515
The full terms of the library license can be found at: http://opensource.org/licenses/LGPL-2.1 and the iio-utils license can be found at: https://opensource.org/licenses/GPL-2.0
1616

1717
@section code_model Code Model
18-
The basic bricks of the libiio API, and therefore the C# bindings are the the iio namepace, and the classes of that nameplace: iio.Channel, iio.Context, iio.Device, iio.IOBuffer, iio.Trigger, and iio.Attr (channel or device attributes).
18+
The basic bricks of the libiio API, and therefore the C# bindings are the the iio namespace, and the classes of that nameplace: iio.Channel, iio.Context, iio.Device, iio.IOBuffer, iio.Trigger, and iio.Attr (channel or device attributes).
1919

2020
![Caption text](doc/codemodel.svg)
2121

bindings/python/doc/iio_attr.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
iio_attr
22
======================
33
| iio_attr is part of the Libiio package, a library that has been developed to ease the development of software interfacing Linux Industrial I/O (IIO) devices.
4-
| This tool is written using the libiio Python bindings. It works in a very similar way of how the base iio_attr works. You can find more informations about it on this `page <https://wiki.analog.com/resources/tools-software/linux-software/libiio/iio_attr>`_.
4+
| This tool is written using the libiio Python bindings. It works in a very similar way of how the base iio_attr works. You can find more information about it on this `page <https://wiki.analog.com/resources/tools-software/linux-software/libiio/iio_attr>`_.
55
66
.. automodule:: iio_attr
77
:members:

bindings/python/doc/iio_info.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
iio_info
22
=====================
33
| iio_info is part of the Libiio package, a library that has been developed to ease the development of software interfacing Linux Industrial I/O (IIO) devices.
4-
| This tool is written using the libiio Python bindings. It works in the same way as the base iio_info works. You can find more informations about it on this `page <https://wiki.analog.com/resources/tools-software/linux-software/libiio/iio_info>`_.
4+
| This tool is written using the libiio Python bindings. It works in the same way as the base iio_info works. You can find more information about it on this `page <https://wiki.analog.com/resources/tools-software/linux-software/libiio/iio_info>`_.
55
66
.. automodule:: iio_info
77
:members:

bindings/python/doc/iio_readdev.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
iio_readdev
22
=====================
33
| iio_readdev is part of the Libiio package, a library that has been developed to ease the development of software interfacing Linux Industrial I/O (IIO) devices.
4-
| This tool is written using the libiio Python bindings. It works in the same way as the base iio_readdev works. You can find more informations about it on this `page <https://wiki.analog.com/resources/tools-software/linux-software/libiio/iio_readdev?s[]=readdev>`_.
4+
| This tool is written using the libiio Python bindings. It works in the same way as the base iio_readdev works. You can find more information about it on this `page <https://wiki.analog.com/resources/tools-software/linux-software/libiio/iio_readdev?s[]=readdev>`_.
55
66
.. automodule:: iio_readdev
77
:members:

bindings/python/doc/iio_writedev.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
iio_writedev
22
=====================
33
| iio_writedev is part of the Libiio package, a library that has been developed to ease the development of software interfacing Linux Industrial I/O (IIO) devices.
4-
| This tool is written using the libiio Python bindings. It works in the same way as the base iio_writedev works. You can find more informations about it on this `page <https://wiki.analog.com/resources/tools-software/linux-software/libiio/iio_writedev>`_.
4+
| This tool is written using the libiio Python bindings. It works in the same way as the base iio_writedev works. You can find more information about it on this `page <https://wiki.analog.com/resources/tools-software/linux-software/libiio/iio_writedev>`_.
55
66
.. automodule:: iio_writedev
77
:members:

cmake/LinuxPackaging.cmake

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ endif()
4141
# if we want to, and have the capabilities find what is needed,
4242
# based on what backends are turned on and what libraries are installed
4343
if(DEB_DETECT_DEPENDENCIES AND DPKG_CMD AND DPKGQ_CMD)
44-
message(STATUS "querying installed packages on system for dependancies")
44+
message(STATUS "querying installed packages on system for dependencies")
4545
execute_process(COMMAND "${DPKG_CMD}" --print-architecture
4646
OUTPUT_VARIABLE CPACK_DEBIAN_PACKAGE_ARCHITECTURE
4747
OUTPUT_STRIP_TRAILING_WHITESPACE)
48-
# don't add a package dependancy if it is not installed locally
48+
# don't add a package dependency if it is not installed locally
4949
# these should be the debian package names
5050
set(PACKAGES "libc6")
5151
if (WITH_LOCAL_BACKEND)
@@ -64,7 +64,7 @@ if(DEB_DETECT_DEPENDENCIES AND DPKG_CMD AND DPKGQ_CMD)
6464
set(PACKAGES "${PACKAGES} libserialport0")
6565
endif()
6666
# find the version of the installed package, which is hard to do in
67-
# cmake first, turn the list into an list (seperated by semicolons)
67+
# cmake first, turn the list into an list (separated by semicolons)
6868
string(REGEX REPLACE " " ";" PACKAGES ${PACKAGES})
6969
# then iterate over each
7070
foreach(package ${PACKAGES})
@@ -103,7 +103,7 @@ if(DEB_DETECT_DEPENDENCIES AND DPKG_CMD AND DPKGQ_CMD)
103103
DPKGQ_VER ${DPKGQ_VER})
104104
string(REGEX REPLACE "'" "" DPKGQ_VER
105105
${DPKGQ_VER})
106-
# build the string for the Debian dependancy
106+
# build the string for the Debian dependency
107107
set(CPACK_DEBIAN_PACKAGE_DEPENDS
108108
"${CPACK_DEBIAN_PACKAGE_DEPENDS}"
109109
"${match} (>= ${DPKGQ_VER}), ")

dns_sd_windows.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ static int open_client_sockets(int *sockets, unsigned int max_sockets)
187187
* - IPv4 "address" record (A) specifying IPv4 address of a given host
188188
* - IPv6 "address" record (AAAA) specifying IPv6 address of a given host
189189
* It's this routine that gets called, and needs to stitch things together
190-
* The DNS host doesn't necessary need to be the acutal host (but for
190+
* The DNS host doesn't necessary need to be the actual host (but for
191191
* mdns - it usually is.
192192
*/
193193
static int query_callback(int sock, const struct sockaddr *from, size_t addrlen,

doc/index.html.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199
devices. IIO started as a <a href=
200200
"https://www.kernel.org/doc/html/latest/driver-api/iio/index.html">Linux
201201
kernel subsystem</a> to support for devices that included
202-
analog-to-digital convertors (ADCs) and/or digital-to-analog convertors
202+
analog-to-digital converters (ADCs) and/or digital-to-analog converters
203203
(DACs). While the libIIO continues to provide an easy interface to the
204204
Linux kernel IIO subsystem, it has also expanded beyond that, and is now
205205
just as common to see this used inside an embedded system or hypervisor as

iiod/dns-sd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ void start_avahi(struct thread_pool *pool, uint16_t port)
310310
avahi.name = NULL;
311311
avahi.port = port;
312312

313-
/* In case dbus, or avahi deamon are not started, we create a thread
313+
/* In case dbus, or avahi daemon are not started, we create a thread
314314
* that tries a few times to attach, if it can't within the first
315315
* minute, it gives up.
316316
*/

local.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -926,7 +926,7 @@ static int local_open(const struct iio_device *dev,
926926

927927
/*
928928
* Set watermark to the buffer size; the driver will adjust to its
929-
* maximum if it's too high without issueing an error.
929+
* maximum if it's too high without issuing an error.
930930
*/
931931
ret = local_write_dev_attr(dev, "buffer/watermark",
932932
buf, strlen(buf) + 1, false);

mainpage.dox

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ License, version 2 or (at your option) any later version.
1111
This open-source license allows anyone to use the library for proprietary or
1212
open-source, commercial or non-commercial applications.
1313

14-
Seperately, the IIO Library also includes a set of test examples and utilities, (collectively known as iio-utils) which are developed and released under the terms of the GNU General Public License, version 2 or (at your option) any later version.
14+
Separately, the IIO Library also includes a set of test examples and utilities, (collectively known as iio-utils) which are developed and released under the terms of the GNU General Public License, version 2 or (at your option) any later version.
1515

1616
The full terms of the library license can be found at: http://opensource.org/licenses/LGPL-2.1 and the iio-utils license can be found at: https://opensource.org/licenses/GPL-2.0
1717

@@ -31,7 +31,7 @@ A C++ API is provided in @ref iiopp.h
3131
@endif
3232

3333
@section scan_contexts Scanning for IIO contexts
34-
The first step when dealing with a collection of IIO devices (known as a context) is to find the context. This can be connected via usb, network, serial or local. Having these different connectivity options could prove to be problematic, but libiio abstracts the low level communications away, and allows you just to find contexts, and talk to devices without being interested in the low level aspects. Many find this convinent to develop applications and algorithms on a host, and quickly move to an embedded Linux system without having to change any code.
34+
The first step when dealing with a collection of IIO devices (known as a context) is to find the context. This can be connected via usb, network, serial or local. Having these different connectivity options could prove to be problematic, but libiio abstracts the low level communications away, and allows you just to find contexts, and talk to devices without being interested in the low level aspects. Many find this convenient to develop applications and algorithms on a host, and quickly move to an embedded Linux system without having to change any code.
3535

3636
To find what IIO contexts are available, use the following:
3737
- iio_create_scan_context(): Create a iio_scan_context object. Depending on what backends were enabled with compiling the library, some of them may not be available. The first argument to this function is a string which is used as a filter ("usb:", "ip:", "local:", "usb:ip", where the default (NULL) means any backend that is compiled in).

man/iio_common_cmds.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ on your system are up to date. This is also useful when reporting bugs.
1515
Scan for available IIO contexts, optional arg of specific backend(s) 'ip', 'usb' or 'ip:usb'.
1616
Specific options for USB include Vendor ID, Product ID to limit scanning to specific devices 'usb=0456,b673'.
1717
vid,pid are hexadecimal numbers (no prefix needed), "*" (match any for pid only)
18-
If no argument is given, it checks all that are availble.
18+
If no argument is given, it checks all that are available.

man/make_man.sh.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ cat <<EOF
3232
.\" <http://www.gnu.org/licenses/>.
3333
.\" %%%LICENSE_END
3434
.\"
35-
.\" This file is autogenerated, and should not be editted
35+
.\" This file is autogenerated, and should not be edited
3636
.\"
3737
.if n .po 0
3838
.TH INTRO 3LIBIIO "@CMAKE_DATE@" "libiio-@LIBIIO_VERSION_MAJOR@.@LIBIIO_VERSION_MINOR@"

utilities.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ char *iio_strtok_r(char *str, const char *delim, char **saveptr)
220220
#elif defined(HAS_STRTOK_R)
221221
return strtok_r(str, delim, saveptr);
222222
#else
223-
#error Need a implentation of strtok_r for this platform
223+
#error Need a implementation of strtok_r for this platform
224224
#endif
225225
}
226226

0 commit comments

Comments
 (0)