From 073f26ace8c656f8d2332f37a3eb35e553fb84ca Mon Sep 17 00:00:00 2001 From: dj2ls Date: Sun, 4 Sep 2022 19:45:15 +0200 Subject: [PATCH] hotfix for #240 and failing GitHub action --- .github/workflows/build_multiplatform.yml | 4 ++-- tnc/codec2.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build_multiplatform.yml b/.github/workflows/build_multiplatform.yml index ebcaf4d1..e6fd623f 100644 --- a/.github/workflows/build_multiplatform.yml +++ b/.github/workflows/build_multiplatform.yml @@ -114,8 +114,8 @@ jobs: distro: bullseye libcodec2_os_name: libcodec2_ubuntu-bullseye_armv7.so - arch: armv7 - distro: ubuntu18.04 - libcodec2_os_name: libcodec2_ubuntu-1804_armv7.so + distro: ubuntu20.04 + libcodec2_os_name: libcodec2_ubuntu-2004_armv7.so steps: - uses: actions/checkout@v2.1.0 diff --git a/tnc/codec2.py b/tnc/codec2.py index a8c2f441..f7ce6b64 100644 --- a/tnc/codec2.py +++ b/tnc/codec2.py @@ -30,7 +30,7 @@ class FREEDV_MODE(Enum): fsk_ldpc = 9 fsk_ldpc_0 = 200 fsk_ldpc_1 = 201 - + auto_mode = 255 # TODO: find a better way for this --> better remove the need for this line # Function for returning the mode value def freedv_get_mode_value_by_name(mode: str) -> int: