diff --git a/ubitx_20/ubitx_20.ino b/ubitx_20/ubitx_20.ino index bf4c9c5..1ba7d95 100644 --- a/ubitx_20/ubitx_20.ino +++ b/ubitx_20/ubitx_20.ino @@ -869,7 +869,7 @@ void initSettings(){ else { Iambic_Key = true; - if (cwKeyType = 1) + if (cwKeyType == 1) keyerControl &= ~IAMBICB; else keyerControl |= IAMBICB; diff --git a/ubitx_20/ubitx_menu.ino b/ubitx_20/ubitx_menu.ino index 61ff5be..c09ca6f 100644 --- a/ubitx_20/ubitx_menu.ino +++ b/ubitx_20/ubitx_menu.ino @@ -87,6 +87,8 @@ void menuBand(int btn){ stepChangeCount = 0; } } + + //setFrequency(frequency + 200000l); } else { //original source if (knob < 0 && frequency > 3000000l) @@ -525,6 +527,7 @@ void menuSetupKeyType(int btn){ printLineF2(F("Press to set Key")); delay_background(500, 0); selectedKeyType = cwKeyType; + while(!btnDown()){ //Display Key Type @@ -564,7 +567,7 @@ void menuSetupKeyType(int btn){ else { Iambic_Key = true; - if (cwKeyType = 1) + if (cwKeyType == 1) keyerControl &= ~IAMBICB; else keyerControl |= IAMBICB;