Skip to content

Dev #410

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 156 commits into from
Oct 28, 2023
Merged

Dev #410

Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
156 commits
Select commit Hold shift + click to select a range
45cad0f
cmake: Avoid try_run when cross-compiling
ew1abz Mar 30, 2020
4a1aa2b
Issue 296 - Avoid potential buffer overflow.
wb2osz Nov 5, 2020
a207287
Issue 298 - Add beacon SOURCE option to override AX.25 source.
wb2osz Nov 7, 2020
714d03f
Bump version number up to 1.7 development.
wb2osz Nov 7, 2020
e272ff8
Issue 269 - Morse code 'I' was sent wrong.
wb2osz Nov 8, 2020
48b9bac
When decoding a third party traffic packet, decode the payload.
wb2osz Nov 14, 2020
adebd06
Issue 297 - FORCE_SSE is always active on i386/amd64
wb2osz Nov 14, 2020
791982a
Merge pull request #261 from ew1abz/dev
wb2osz Nov 14, 2020
fdf660a
New "-d d" command line option for APRStt debug.
wb2osz Nov 22, 2020
9922f17
New AFSK demodulators.
wb2osz Nov 28, 2020
c1e1960
More consistent results.
wb2osz Nov 28, 2020
07fdc75
Raise upper limits.
wb2osz Nov 28, 2020
042a0c4
Addded options to transmit steady tones at various frequencies
BehemothTheKitten Dec 23, 2020
feb1034
Implement DNS-SD publishing of KISS over TCP service on Linux and Mac
hessu Dec 27, 2020
1d67b44
Issue 150 - Check whether platform provides strlcpy & strlcat
wb2osz Dec 31, 2020
52e3a5b
Display speed and altitude in both metric and Imperial units.
wb2osz Dec 31, 2020
8bca486
Merge pull request #305 from BehemothTheKitten/x_fm_calibrate
wb2osz Dec 31, 2020
1cad6ed
Allow radio channel number for -x transmit calibration tone option.
wb2osz Jan 1, 2021
085e837
Enhanced transmit calibration tone option (-x) with channel and tone …
wb2osz Jan 1, 2021
6f95752
Merge branch 'feature/dns-sd' of git://github.com/hessu/direwolf into…
wb2osz Jan 2, 2021
14d6eed
Merge branch 'hessu-feature/dns-sd' into dev
wb2osz Jan 2, 2021
5d02e0b
Issue 292 - Remove serial port speed restriction for Mac OSX.
wb2osz Jan 2, 2021
6513efd
Fix UNITTEST for MacOSX.
wb2osz Jan 2, 2021
81447ed
Comments about units.
wb2osz Jan 2, 2021
8683ddc
Allow multiple TCP KISS ports and option for single radio channel.
wb2osz Jan 5, 2021
7ac1262
Fix Linux build.
wb2osz Jan 5, 2021
667e9ca
Quick hack until I can handle multiple KISS TCP ports properly.
wb2osz Jan 5, 2021
a1afcbb
Limited support for CM108/CM119 GPIO PTT on Windows.
wb2osz Feb 7, 2021
04b32c4
Limited support for CM108/CM119 GPIO support on Windows.
wb2osz Feb 7, 2021
677117b
add sndio support
jg1uaa Feb 25, 2021
c18b562
add sndio support (CMake)
jg1uaa Feb 25, 2021
0c285a0
cosme
jg1uaa Feb 25, 2021
e449e39
Update comments.
wb2osz Mar 13, 2021
09de2f6
Declare cm108 functions explicitly.
jmkristian Mar 14, 2021
7fa91dd
Merge pull request #326 from jmkristian/w6jmk-cm108
wb2osz Mar 16, 2021
44df4a7
Issue 325 - When building regex for Windows, don't repeatedly define …
wb2osz Apr 11, 2021
12de518
Mention installation with Mac Ports.
wb2osz Apr 11, 2021
73d5d13
Recognize Windows form of device path.
wb2osz Apr 11, 2021
0e68a77
Pull Request 322 - SNDIO support for BSD.
wb2osz Apr 11, 2021
6370b26
Pull request 322 - SNDIO support for BSD.
wb2osz Apr 11, 2021
b66c21d
Fix broken hyperlink in README.
wb2osz Apr 11, 2021
6bfd228
Fix errors in comments
dforsi Sep 19, 2021
d10ccb6
Fix errors in strings
dforsi Sep 19, 2021
edc5707
Fix errors in man pages
dforsi Sep 19, 2021
1b3ed76
Add a comment about bundling multiple frames in single transmission.
wb2osz Sep 21, 2021
257d2e3
New get/set methods for packet object.
wb2osz Sep 21, 2021
b777627
More debug code.
wb2osz Sep 21, 2021
1712fbc
cleanup
wb2osz Sep 21, 2021
3220931
Race condition when starting up with transmit queue not empty. Large…
wb2osz Sep 21, 2021
023f675
Avoid serial port write error for Windows,
wb2osz Sep 21, 2021
8619b74
Pull request 353 - Fix spelling errors.
wb2osz Sep 29, 2021
17b9336
Merge branch 'dev' of http://github.com/wb2osz/direwolf into dev
wb2osz Sep 29, 2021
53e9ff7
Add IL2P.
wb2osz Oct 22, 2021
9016fa5
Make IL2P test scripts executable.
wb2osz Oct 22, 2021
6442466
Shut off confusing debug message.
wb2osz Nov 12, 2021
049614d
Fix IL2P for 9600 bps.
wb2osz Nov 23, 2021
9b9744b
Speed up 9600 demodulator.
wb2osz Nov 23, 2021
45cd680
First rough approximation of ICHANNEL.
wb2osz Dec 10, 2021
eef35cf
Issue 367 - AGW monitoring must handle binary data.
wb2osz Dec 19, 2021
65869bc
Issue 366 - Remove 0x from pid in monitor header.
wb2osz Dec 19, 2021
5dbe2ce
Allow speed for GPSNMEA configuration.
wb2osz Dec 29, 2021
42314b7
gpsd 3.23 (API 12) compatibility and cleanups.
wb2osz Jan 2, 2022
366e0ab
Clean up
wb2osz Jan 3, 2022
0f2b241
More error checking for messages.
wb2osz Jan 17, 2022
dcabb8f
Digipeat noid
wb2osz Jan 30, 2022
89021dd
Cleanups
wb2osz Feb 16, 2022
26727bb
Pull request 301
wb2osz Feb 16, 2022
27019b4
The constant thorn in my side.
wb2osz Feb 16, 2022
4f6ca0d
Update tocalls.txt and symbols-new.txt
wb2osz Feb 21, 2022
e108147
Fix ttgrid corner and various cleanups.
wb2osz Feb 25, 2022
0bd31ae
Clean up warnings.
wb2osz Feb 27, 2022
bb16c72
Fix spelling errors
dforsi Mar 22, 2022
a558348
UTF-8 in config file experiment.
wb2osz Mar 23, 2022
3dd125e
UTF-8 discussion
wb2osz Mar 23, 2022
06d6cab
Special ATGP digipeating hack.
wb2osz Mar 23, 2022
368bc42
Spelling errors.
wb2osz Mar 23, 2022
18c65f4
Note for future experiment.
wb2osz Mar 23, 2022
722fefb
Compile warnings.
wb2osz Mar 23, 2022
f97c024
More FX.25 tests.
wb2osz Mar 23, 2022
c9ffbd7
Merge branch 'dev' of http://github.com/wb2osz/direwolf into dev
wb2osz Mar 23, 2022
59288b7
Pull Request 394 - fix compilation on musl
wb2osz May 24, 2022
d11bd6f
pull request 355 - verb correction
wb2osz May 24, 2022
30869c7
Issues 405 & 406 and other improvements in message interpretation.
wb2osz Jul 4, 2022
429d095
Issue 417 - Allow UTF-8 characters for Mac audio device names.
wb2osz Sep 25, 2022
acace8c
Variable speed for gen_packets.
wb2osz Oct 1, 2022
d0fc24a
Just comments.
wb2osz Oct 1, 2022
8913a85
clean up
wb2osz Oct 1, 2022
3973627
Remove cmake warnings about slight name mismatches.
wb2osz Nov 25, 2022
07ea828
Assorted minor cleanups.
wb2osz Nov 25, 2022
17d3d0a
Increase max AFSK filter size.
wb2osz Dec 18, 2022
1d452fe
Tested compatibility with gpsd 3.25.
wb2osz Jan 15, 2023
9553abc
Tested compatibility with gpsd 3.25.
wb2osz Jan 15, 2023
399ffcc
Add in a couple missing includes to clean up build warnings
bjpetit Jan 7, 2023
ef573f2
Pull request 439 - Fix audio level display for B demodulator.
wb2osz Jan 23, 2023
031c937
Issue 444 - Command line -x calibrate tones are reversed
wb2osz Jan 28, 2023
fedfef9
Fix spellling (#409)
dforsi Jan 28, 2023
0f92f46
github actions implementation (#396)
ra1nb0w Jan 28, 2023
04ecdbc
Complete the new ICHANNEL feature.
wb2osz Jan 30, 2023
8e28902
Notes for future.
wb2osz Jan 30, 2023
c25629a
Merge branch 'dev' of http://github.com/wb2osz/direwolf into dev
wb2osz Jan 30, 2023
8cb73d2
More documentation references.
wb2osz Mar 5, 2023
8a97887
Cleanup.
wb2osz Mar 5, 2023
b4b7b13
Improve error message.
wb2osz Mar 5, 2023
cac83f2
Improve error message.
wb2osz Mar 5, 2023
dbb4777
More comments.
wb2osz Mar 5, 2023
7573f99
Improve error message.
wb2osz Mar 5, 2023
eb813e5
Reduce noise.
wb2osz Mar 5, 2023
11468f2
Improve error message.
wb2osz Mar 5, 2023
019ff3b
Update config.c
wb2osz Apr 7, 2023
75ccf18
Improve config error checking.
wb2osz Apr 7, 2023
4cd63df
Use channel rather than port when dumping KISS frame.
wb2osz Apr 26, 2023
4ac666d
Clean up atest EAS receive.
wb2osz Apr 30, 2023
110b85a
Add EAS to gen_packets.
wb2osz May 1, 2023
5fb4081
Remove capability to download tocalls.txt, etc.
wb2osz May 2, 2023
8000e46
Issue 427 - callsign order for AGW protocol 'Y'.
wb2osz May 4, 2023
8e32286
Issue 275 - AGW 'd' would not abort a connect attempt in progress.
wb2osz May 7, 2023
b172734
Issue 401 - Avoid receiving own transmission due to audio crosstalk.
wb2osz May 8, 2023
24a06ae
1.7 dev version G
wb2osz May 8, 2023
92a2097
New warnings for gcc 11.3.
wb2osz May 11, 2023
f8b9cae
Improved error messages.
wb2osz May 14, 2023
577b2b3
Automated test case for EAS SAME.
wb2osz May 14, 2023
b1b3e85
Remove Ubuntu 18 from automated test build.
wb2osz May 14, 2023
0058145
Minor typo.
wb2osz May 14, 2023
e53fa0c
Fix Windows 11 build.
wb2osz May 14, 2023
a3d3143
+x permission
wb2osz May 14, 2023
415a08d
Add AIOC to list for cm108 ptt.
wb2osz May 17, 2023
d6ae84d
Set AIOC HID permission.
wb2osz May 21, 2023
4008153
Silently ignore AGW protocol application login.
wb2osz May 21, 2023
f9cf42b
Better interpretation of bulletin identifiers.
wb2osz Jun 3, 2023
e84a622
Look past third party header for packet filtering.
wb2osz Jun 14, 2023
fed79a7
Mention IL2P transmit for channels besides first.
wb2osz Jul 17, 2023
c5ad945
Fix IL2PTX config parsing (#483)
arodland Jul 17, 2023
9d2ded2
Add TH-D75 and another seen on APRS Thursday.
wb2osz Aug 7, 2023
790c8ab
Additional documentation location.
wb2osz Aug 7, 2023
80bbf5a
FIX_BITS default to 0.
wb2osz Aug 7, 2023
dfc063f
Minor clarifications.
wb2osz Aug 7, 2023
2434e5f
Minor cleanups.
wb2osz Aug 8, 2023
a87b72e
Handle slow Hamlib init. This change adds a retry loop to the (#484)
bjpetit Aug 8, 2023
7a8e432
Issue 486. Maybe.
wb2osz Aug 16, 2023
a08d093
Add FEC type to station heard line.
wb2osz Sep 10, 2023
ba0313c
Add FTM-500D to recognized device identifers.
wb2osz Sep 10, 2023
877d1c7
Fix build on Alpine Linux. issues 150, 319, 344.
wb2osz Sep 23, 2023
3c73a6b
Revert "Fix build on Alpine Linux. issues 150, 319, 344."
wb2osz Sep 23, 2023
ab834f3
Second attempt to fix build on Alpine Linux. issues 150, 319, 344.
wb2osz Sep 25, 2023
6bd296b
glibc 2.38 has strlcpy and strlcat but cmake does not detect it.
wb2osz Oct 14, 2023
6b76e1d
Don't let t1v get out of control.
wb2osz Oct 14, 2023
88e2222
Better keyword for preemptive digipeating.
wb2osz Oct 14, 2023
34ba203
Clean up sample direwolf.conf file.
wb2osz Oct 14, 2023
786e433
Fix comment.
wb2osz Oct 14, 2023
fae30a6
Move to new directory.
wb2osz Oct 14, 2023
7b9325e
Documentation update for release 1.7.
wb2osz Oct 27, 2023
091670a
New device identifier location.
wb2osz Oct 28, 2023
9807304
Bump version to 1.7 release.
wb2osz Oct 28, 2023
62e4566
Change version to 1.7 release.
wb2osz Oct 28, 2023
6ed85d1
User Guide for release 1.7.
wb2osz Oct 28, 2023
2260df1
Release Notes 1.7.
wb2osz Oct 28, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
170 changes: 170 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
name: 'build direwolf'

on:
# permit to manually trigger the CI
workflow_dispatch:
inputs:
cmake_flags:
description: 'Custom CMAKE flags'
required: false
push:
paths-ignore:
- '.github/**'
pull_request:
paths-ignore:
- '.github/**'

jobs:
build:
name: ${{ matrix.config.name }}
runs-on: ${{ matrix.config.os }}
strategy:
fail-fast: false
matrix:
config:
- {
name: 'Windows Latest MinGW 64bit',
os: windows-latest,
cc: 'x86_64-w64-mingw32-gcc',
cxx: 'x86_64-w64-mingw32-g++',
ar: 'x86_64-w64-mingw32-ar',
windres: 'x86_64-w64-mingw32-windres',
arch: 'x86_64',
build_type: 'Release',
cmake_extra_flags: '-G "MinGW Makefiles"'
}
- {
name: 'Windows 2019 MinGW 32bit',
os: windows-2019,
cc: 'i686-w64-mingw32-gcc',
cxx: 'i686-w64-mingw32-g++',
ar: 'i686-w64-mingw32-ar',
windres: 'i686-w64-mingw32-windres',
arch: 'i686',
build_type: 'Release',
cmake_extra_flags: '-G "MinGW Makefiles"'
}
- {
name: 'macOS latest',
os: macos-latest,
cc: 'clang',
cxx: 'clang++',
arch: 'x86_64',
build_type: 'Release',
cmake_extra_flags: ''
}
- {
name: 'Ubuntu latest Debug',
os: ubuntu-latest,
cc: 'gcc',
cxx: 'g++',
arch: 'x86_64',
build_type: 'Debug',
cmake_extra_flags: ''
}
- {
name: 'Ubuntu 22.04',
os: ubuntu-22.04,
cc: 'gcc',
cxx: 'g++',
arch: 'x86_64',
build_type: 'Release',
cmake_extra_flags: ''
}
- {
name: 'Ubuntu 20.04',
os: ubuntu-20.04,
cc: 'gcc',
cxx: 'g++',
arch: 'x86_64',
build_type: 'Release',
cmake_extra_flags: ''
}
- {
name: 'Ubuntu 18.04',
os: ubuntu-18.04,
cc: 'gcc',
cxx: 'g++',
arch: 'x86_64',
build_type: 'Release',
cmake_extra_flags: ''
}
steps:
- name: checkout
uses: actions/checkout@v2
with:
fetch-depth: 8
- name: dependency
shell: bash
run: |
# this is not perfect but enought for now
if [ "$RUNNER_OS" == "Linux" ]; then
sudo apt-get update
sudo apt-get install libasound2-dev libudev-dev libhamlib-dev gpsd
elif [ "$RUNNER_OS" == "macOS" ]; then
# just to simplify I use homebrew but
# we can use macports (latest direwolf is already available as port)
brew install portaudio hamlib gpsd
elif [ "$RUNNER_OS" == "Windows" ]; then
# add the folder to PATH
echo "C:\msys64\mingw32\bin" >> $GITHUB_PATH
fi
- name: create build environment
run: |
cmake -E make_directory ${{github.workspace}}/build
- name: configure
shell: bash
working-directory: ${{github.workspace}}/build
run: |
if [ "$RUNNER_OS" == "Windows" ]; then
export CC=${{ matrix.config.cc }}
export CXX=${{ matrix.config.cxx }}
export AR=${{ matrix.config.ar }}
export WINDRES=${{ matrix.config.windres }}
fi
cmake $GITHUB_WORKSPACE \
-DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} \
-DCMAKE_C_COMPILER=${{ matrix.config.cc }} \
-DCMAKE_CXX_COMPILER=${{ matrix.config.cxx }} \
-DCMAKE_CXX_FLAGS="-Werror" -DUNITTEST=1 \
${{ matrix.config.cmake_extra_flags }} \
${{ github.event.inputs.cmake_flags }}
- name: build
shell: bash
working-directory: ${{github.workspace}}/build
run: |
if [ "$RUNNER_OS" == "Windows" ]; then
export CC=${{ matrix.config.cc }}
export CXX=${{ matrix.config.cxx }}
export AR=${{ matrix.config.ar }}
export WINDRES=${{ matrix.config.windres }}
fi
cmake --build . --config ${{ matrix.config.build_type }} \
${{ github.event.inputs.cmake_flags }}
- name: test
continue-on-error: true
shell: bash
working-directory: ${{github.workspace}}/build
run: |
ctest -C ${{ matrix.config.build_type }} \
--parallel 2 --output-on-failure \
${{ github.event.inputs.cmake_flags }}
- name: package
shell: bash
working-directory: ${{github.workspace}}/build
run: |
if [ "$RUNNER_OS" == "Windows" ] || [ "$RUNNER_OS" == "macOS" ]; then
make package
fi
- name: archive binary
uses: actions/upload-artifact@v2
with:
name: direwolf_${{ matrix.config.os }}_${{ matrix.config.arch }}_${{ github.sha }}
path: |
${{github.workspace}}/build/direwolf-*.zip
${{github.workspace}}/build/direwolf.conf
${{github.workspace}}/build/src/*
${{github.workspace}}/build/CMakeCache.txt
!${{github.workspace}}/build/src/cmake_install.cmake
!${{github.workspace}}/build/src/CMakeFiles
!${{github.workspace}}/build/src/Makefile
73 changes: 73 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ dev ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ dev ]
schedule:
- cron: '25 8 * * 4'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'cpp', 'python' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://git.io/codeql-language-support

steps:
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

- run: |
mkdir build
cd build
cmake -DUNITTEST=1 ..
make
make test

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
17 changes: 9 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -167,15 +167,16 @@ elseif(APPLE)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DUSE_MACOS_DNSSD")

elseif (WIN32)
if(NOT VS2015 AND NOT VS2017)
message(FATAL_ERROR "You must use Microsoft Visual Studio 2015 or 2017 as compiler")
if(C_MSVC)
if (NOT VS2015 AND NOT VS2017 AND NOT VS2019)
message(FATAL_ERROR "You must use Microsoft Visual Studio 2015, 2017 or 2019 as compiler")
else()
# compile with full multicore
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /MP")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP")
set(CUSTOM_SHELL_BIN "")
endif()
endif()

# compile with full multicore
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /MP")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /MP")

set(CUSTOM_SHELL_BIN "")
endif()

if (C_CLANG OR C_GCC)
Expand Down
4 changes: 3 additions & 1 deletion cmake/modules/FindCompiler.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ elseif(NOT DEFINED C_GCC AND CMAKE_CXX_COMPILER_ID MATCHES "GNU")
set(C_GCC 1)
elseif(NOT DEFINED C_MSVC AND CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
set(C_MSVC 1)
if(MSVC_VERSION GREATER 1910 AND MSVC_VERSION LESS 1919)
if(MSVC_VERSION GREATER_EQUAL 1920 AND MSVC_VERSION LESS_EQUAL 1929)
set(VS2019 ON)
elseif(MSVC_VERSION GREATER_EQUAL 1910 AND MSVC_VERSION LESS_EQUAL 1919)
set(VS2017 ON)
elseif(MSVC_VERSION GREATER 1899 AND MSVC_VERSION LESS 1910)
set(VS2015 ON)
Expand Down
2 changes: 1 addition & 1 deletion src/agwlib.c
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ static void * tnc_listen_thread (void *arg)
}

/*
* Call to/from fields are 10 bytes but contents must not exceeed 9 characters.
* Call to/from fields are 10 bytes but contents must not exceed 9 characters.
* It's not guaranteed that unused bytes will contain 0 so we
* don't issue error message in this case.
*/
Expand Down
2 changes: 1 addition & 1 deletion src/audio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1532,7 +1532,7 @@ int audio_flush (int a)
* (3) Call this function, which might or might not wait long enough.
* (4) Add (1) and (2) resulting in when PTT should be turned off.
* (5) Take difference between current time and desired PPT off time
* and wait for additoinal time if required.
* and wait for additional time if required.
*
*----------------------------------------------------------------*/

Expand Down
4 changes: 2 additions & 2 deletions src/audio.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ struct audio_s {

struct adev_param_s {

/* Properites of the sound device. */
/* Properties of the sound device. */

int defined; /* Was device defined? */
/* First one defaults to yes. */
Expand Down Expand Up @@ -102,7 +102,7 @@ struct audio_s {
/* This is the probability, in per cent, of randomly corrupting it. */
/* Normally this is 0. 25 would mean corrupt it 25% of the time. */

int recv_error_rate; /* Similar but the % probablity of dropping a received frame. */
int recv_error_rate; /* Similar but the % probability of dropping a received frame. */

float recv_ber; /* Receive Bit Error Rate (BER). */
/* Probability of inverting a bit coming out of the modem. */
Expand Down
2 changes: 1 addition & 1 deletion src/audio_portaudio.c
Original file line number Diff line number Diff line change
Expand Up @@ -1260,7 +1260,7 @@ int audio_flush (int a)
* (3) Call this function, which might or might not wait long enough.
* (4) Add (1) and (2) resulting in when PTT should be turned off.
* (5) Take difference between current time and desired PPT off time
* and wait for additoinal time if required.
* and wait for additional time if required.
*
*----------------------------------------------------------------*/

Expand Down
4 changes: 2 additions & 2 deletions src/audio_win.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ static struct audio_s *save_audio_config_p;
*/

/*
* Originally, we had an abitrary buf time of 40 mS.
* Originally, we had an arbitrary buf time of 40 mS.
*
* For mono, the buffer size was rounded up from 3528 to 4k so
* it was really about 50 mS per buffer or about 20 per second.
Expand Down Expand Up @@ -1074,7 +1074,7 @@ int audio_flush (int a)
* (3) Call this function, which might or might not wait long enough.
* (4) Add (1) and (2) resulting in when PTT should be turned off.
* (5) Take difference between current time and desired PPT off time
* and wait for additoinal time if required.
* and wait for additional time if required.
*
*----------------------------------------------------------------*/

Expand Down
4 changes: 2 additions & 2 deletions src/ax25_link.c
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ typedef struct ax25_dlsm_s {
// Sometimes the flow chart has SAT instead of SRT.
// I think that is a typographical error.

float t1v; // How long to wait for an acknowlegement before resending.
float t1v; // How long to wait for an acknowledgement before resending.
// Value used when starting timer T1, in seconds.
// "FRACK" parameter in some implementations.
// Typically it might be 3 seconds after frame has been
Expand Down Expand Up @@ -6049,7 +6049,7 @@ static void check_need_for_response (ax25_dlsm_t *S, ax25_frame_type_t frame_typ
*
* Outputs: S->srt New smoothed roundtrip time.
*
* S->t1v How long to wait for an acknowlegement before resending.
* S->t1v How long to wait for an acknowledgement before resending.
* Value used when starting timer T1, in seconds.
* Here it is dynamically adjusted.
*
Expand Down
2 changes: 1 addition & 1 deletion src/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -5832,7 +5832,7 @@ static int beacon_options(char *cmd, struct beacon_s *b, int line, struct audio_
/*
* Process symbol now that we have any later overlay.
*
* FIXME: Someone who used this was surprized to end up with Solar Powser (S-).
* FIXME: Someone who used this was surprised to end up with Solar Powser (S-).
* overlay=S symbol="/-"
* We should complain if overlay used with symtab other than \.
*/
Expand Down
4 changes: 2 additions & 2 deletions src/decode_aprs.c
Original file line number Diff line number Diff line change
Expand Up @@ -1401,7 +1401,7 @@ static void aprs_mic_e (decode_aprs_t *A, packet_t pp, unsigned char *info, int
}
}

/* 6th character of destintation indicates east / west. */
/* 6th character of destination indicates east / west. */

/*
* Example of apparently invalid encoding. 6th character missing.
Expand Down Expand Up @@ -1605,7 +1605,7 @@ static void aprs_mic_e (decode_aprs_t *A, packet_t pp, unsigned char *info, int
* Purpose: Decode "Message Format."
* The word message is used loosely all over the place, but it has a very specific meaning here.
*
* Inputs: info - Pointer to Information field. Be carefull not to modify it here!
* Inputs: info - Pointer to Information field. Be careful not to modify it here!
* ilen - Information field length.
* quiet - suppress error messages.
*
Expand Down
2 changes: 1 addition & 1 deletion src/demod.c
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,7 @@ int demod_init (struct audio_s *pa)
*
* Name: demod_get_sample
*
* Purpose: Get one audio sample fromt the specified sound input source.
* Purpose: Get one audio sample from the specified sound input source.
*
* Inputs: a - Index for audio device. 0 = first.
*
Expand Down
Loading