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

Added boot-up screen menu option, boot-beeps option

This commit is contained in:
OneOfEleven
2023-09-15 06:28:45 +01:00
parent 494faf5cee
commit 2fe8cd3757
17 changed files with 94 additions and 48 deletions

View File

@ -14,6 +14,7 @@
* limitations under the License.
*/
#include "scheduler.h"
#ifdef ENABLE_FMRADIO
#include "app/fm.h"
#endif
@ -38,6 +39,7 @@
} while(0)
static volatile uint32_t gGlobalSysTickCounter;
volatile uint8_t boot_counter = 0;
void SystickHandler(void);
@ -45,7 +47,7 @@ void SystickHandler(void);
void SystickHandler(void)
{
gGlobalSysTickCounter++;
gNextTimeslice = true;
if ((gGlobalSysTickCounter % 50) == 0)
@ -101,4 +103,7 @@ void SystickHandler(void)
if (gVoxStopCountdown)
gVoxStopCountdown--;
if (boot_counter < 255)
boot_counter++;
}