mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-06-19 06:39:49 +03:00
fix crc in makefile
This commit is contained in:
@ -65,7 +65,7 @@ static void ACTION_FlashLight(void)
|
||||
|
||||
case FLASHLIGHT_SOS:
|
||||
#ifdef ENABLE_FLASH_LIGHT_SOS_TONE
|
||||
BK4819_StopTones(g_current_function == FUNCTION_TRANSMIT);
|
||||
BK4819_stop_tones(g_current_function == FUNCTION_TRANSMIT);
|
||||
#endif
|
||||
|
||||
// Fallthrough
|
||||
@ -104,7 +104,7 @@ void ACTION_Monitor(void)
|
||||
g_beep_to_play = BEEP_NONE;
|
||||
|
||||
if (!g_squelch_open && GPIO_CheckBit(&GPIOC->DATA, GPIOC_PIN_SPEAKER))
|
||||
BK4819_StopTones(g_current_function == FUNCTION_TRANSMIT);
|
||||
BK4819_stop_tones(g_current_function == FUNCTION_TRANSMIT);
|
||||
|
||||
#ifdef ENABLE_NOAA
|
||||
// if (g_rx_vfo->channel_save >= NOAA_CHANNEL_FIRST && g_noaa_mode)
|
||||
|
@ -1562,7 +1562,7 @@ void APP_process_flash_light_10ms(void)
|
||||
GPIO_SetBit(&GPIOC->DATA, GPIOC_PIN_FLASHLIGHT);
|
||||
#ifdef ENABLE_FLASH_LIGHT_SOS_TONE
|
||||
if (!g_squelch_open && !g_monitor_enabled && !GPIO_CheckBit(&GPIOC->DATA, GPIOC_PIN_SPEAKER))
|
||||
BK4819_StartTone1(880, 50, g_current_function == FUNCTION_TRANSMIT, true);
|
||||
BK4819_start_tone(880, 70, g_current_function == FUNCTION_TRANSMIT, false);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
@ -1573,7 +1573,7 @@ void APP_process_flash_light_10ms(void)
|
||||
GPIO_ClearBit(&GPIOC->DATA, GPIOC_PIN_FLASHLIGHT); // OFF
|
||||
#ifdef ENABLE_FLASH_LIGHT_SOS_TONE
|
||||
if (!g_squelch_open && !g_monitor_enabled && GPIO_CheckBit(&GPIOC->DATA, GPIOC_PIN_SPEAKER))
|
||||
BK4819_StopTones(g_current_function == FUNCTION_TRANSMIT);
|
||||
BK4819_stop_tones(g_current_function == FUNCTION_TRANSMIT);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
10
app/menu.c
10
app/menu.c
@ -764,16 +764,6 @@ void MENU_AcceptSetting(void)
|
||||
|
||||
case MENU_ROGER_MODE:
|
||||
g_eeprom.config.setting.roger_mode = g_sub_menu_selection;
|
||||
if (g_eeprom.config.setting.roger_mode != ROGER_MODE_OFF)
|
||||
{
|
||||
if (g_tx_vfo->channel.dtmf_ptt_id_tx_mode == PTT_ID_TX_DOWN ||
|
||||
g_tx_vfo->channel.dtmf_ptt_id_tx_mode == PTT_ID_BOTH ||
|
||||
g_tx_vfo->channel.dtmf_ptt_id_tx_mode == PTT_ID_APOLLO)
|
||||
{
|
||||
g_tx_vfo->channel.dtmf_ptt_id_tx_mode = PTT_ID_OFF; // // disable PTT ID tail
|
||||
g_request_save_channel = 1;
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
case MENU_MOD_MODE:
|
||||
|
Reference in New Issue
Block a user