diff --git a/README.md b/README.md index 4766172..2fb4e2b 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ ENABLE_OVERLAY := 0 cpu FLASH stuff, not needed ENABLE_LTO := 0 **experimental, reduces size of compiled firmware but might break EEPROM reads (overlay will be disabled if you enable this) ENABLE_UART := 1 without this you can't configure radio via PC ! ENABLE_AIRCOPY := 0 easier to just enter frequency with butts -ENABLE_FMRADIO := 1 WBFM VHF broadcast band receiver +ENABLE_FMRADIO := 0 WBFM VHF broadcast band receiver ENABLE_NOAA := 0 everything NOAA (only of any use in the USA) ENABLE_VOICE := 0 want to hear voices ? ENABLE_ALARM := 0 TX alarms @@ -51,7 +51,7 @@ ENABLE_REVERSE_BAT_SYMBOL := 1 mirror the battery symbol on the status ENABLE_CODE_SCAN_TIMEOUT := 0 enable/disable 32-sec CTCSS/DCS scan timeout (press exit butt instead of time-out to end scan) ENABLE_AM_FIX := 1 dynamically adjust the front end gains when in AM mode to helo prevent AM demodulator saturation, ignore the on-screen RSSI level (for now) ENABLE_AM_FIX_SHOW_DATA := 1 show debug data for the AM fix (still tweaking it) -ENABLE_SQUELCH_MORE_SENSITIVE := 1 make squelch levels a little bit more sensitive - I plan to let user adjust the values themselves +ENABLE_SQUELCH_MORE_SENSITIVE := 0 make squelch levels a little bit more sensitive - I plan to let user adjust the values themselves ENABLE_FASTER_CHANNEL_SCAN := 0 increases the channel scan speed, but the squelch is also made more twitchy ENABLE_RSSI_BAR := 1 enable a dBm/Sn RSSI bar graph level inplace of the little antenna symbols ENABLE_AUDIO_BAR := 0 experimental, display an audo bar level when TX'ing diff --git a/app/app.c b/app/app.c index 1b8dea8..3343f14 100644 --- a/app/app.c +++ b/app/app.c @@ -1987,6 +1987,7 @@ void APP_TimeSlice500ms(void) static void ALARM_Off(void) { gAlarmState = ALARM_STATE_OFF; + GPIO_ClearBit(&GPIOC->DATA, GPIOC_PIN_AUDIO_PATH); gEnableSpeaker = false; @@ -2002,7 +2003,7 @@ void APP_TimeSlice500ms(void) RADIO_SetupRegisters(true); -// if (gScreenToDisplay != DISPLAY_MENU) // 1of11 .. don't close the menu + if (gScreenToDisplay != DISPLAY_MENU) // 1of11 .. don't close the menu gRequestDisplayScreen = DISPLAY_MAIN; } #endif @@ -2279,9 +2280,8 @@ static void APP_ProcessKey(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld) if (Key == KEY_PTT) gPttWasPressed = true; else + if (!bKeyHeld) gPttWasReleased = true; - - bKeyHeld = false; } #endif } diff --git a/firmware.bin b/firmware.bin index 2e9610e..056836c 100644 Binary files a/firmware.bin and b/firmware.bin differ diff --git a/firmware.packed.bin b/firmware.packed.bin index 07e7aa0..2091b94 100644 Binary files a/firmware.packed.bin and b/firmware.packed.bin differ