0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-20 06:58:39 +03:00

1750Hz tone side key now a momentary action (press to TX tone, release to stop TX tone)

This commit is contained in:
OneOfEleven
2023-10-04 00:15:01 +01:00
parent 6e2ba5c214
commit eaccdab1d4
6 changed files with 13 additions and 4 deletions

View File

@ -236,7 +236,7 @@ void ACTION_Vox(void)
}
#if defined(ENABLE_ALARM) || defined(ENABLE_TX1750)
static void ACTION_AlarmOr1750(bool b1750)
static void ACTION_AlarmOr1750(const bool b1750)
{
gInputBoxIndex = 0;
@ -252,7 +252,7 @@ void ACTION_Vox(void)
gFlagPrepareTX = 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