From c11c8bfbe3cef2c144a38be46cffce49c3ce79bb Mon Sep 17 00:00:00 2001 From: Reed Nightingale Date: Sat, 18 Jul 2020 18:58:43 -0700 Subject: [PATCH 1/2] Remove bands that aren't on dial from band lookup struct --- bands.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/bands.cpp b/bands.cpp index c9f04ad..de05d66 100644 --- a/bands.cpp +++ b/bands.cpp @@ -16,19 +16,19 @@ struct Band_t { const char UNKNOWN_BAND_NAME [] PROGMEM = "??"; constexpr Band_t bands [] PROGMEM { - { 0UL, 255UL, 255, "U8"},//Utility conversion option - { 0UL, 65535UL, 254, "UF"},//Utility conversion option - { 530000UL, 1700000UL, 253, "AM"},//Broadcast AM, actually centers at 268, but uint8 can't do that - { 1800000UL, 2000000UL, 160, "A0"},//0xA0 is 160 +// { 0UL, 255UL, 255, "U8"},//Utility conversion option +// { 0UL, 65535UL, 254, "UF"},//Utility conversion option +// { 530000UL, 1700000UL, 253, "AM"},//Broadcast AM, actually centers at 268, but uint8 can't do that +// { 1800000UL, 2000000UL, 160, "A0"},//0xA0 is 160 { 3500000UL, 4000000UL, 80, "80"}, - { 5330500UL, 5403500UL, 60, "60"}, +// { 5330500UL, 5403500UL, 60, "60"}, { 7000000UL, 7300000UL, 40, "40"}, {10100000UL, 10150000UL, 30, "30"}, {14000000UL, 14350000UL, 20, "20"}, {18068000UL, 18168000UL, 17, "17"}, {21000000UL, 21450000UL, 15, "15"}, - {24890000UL, 24990000UL, 12, "12"}, - {26965000UL, 27405000UL, 11, "CB"},//Citizen's Band +// {24890000UL, 24990000UL, 12, "12"}, +// {26965000UL, 27405000UL, 11, "CB"},//Citizen's Band {28000000UL, 29700000UL, 10, "10"}, }; constexpr uint8_t NUM_BANDS = sizeof(bands)/sizeof(bands[0]); From c62eaaba2eff010eb55ad6e6a75327b4031369f8 Mon Sep 17 00:00:00 2001 From: Reed Nightingale Date: Sat, 18 Jul 2020 20:28:43 -0700 Subject: [PATCH 2/2] Update readme with compiler info --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c38030f..0902394 100644 --- a/README.md +++ b/README.md @@ -18,10 +18,11 @@ New features include: # Installing on Your Radio There are plenty of tutorials on how to upload sketches to Arduino Nanos. Just search for them. Addtionally, -Ashhar created a video explaining the process specifically for uBiTX6: https://www.youtube.com/watch?v=3n_V3prSJ_E +Ashhar created a video explaining the process specifically for uBiTX v6: https://www.youtube.com/watch?v=3n_V3prSJ_E -I developed this code using the Arduino IDE 1.8.9 toolchain, with -Wall and -Wextra compiler options turned on, so -it should compile on newer or older versions, but may result in slightly different binary output sizes. +I developed this code using the Arduino IDE 1.8.9 toolchain, with -Wall and -Wextra compiler options turned on. +Arduino IDE 1.8.13 was reported to compile too big (see https://groups.io/g/BITX20/topic/75008576), but this +should be resolved in this project's tag R1.5.1. # Personalized Callsign