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

Limit screen update rate in AM fixer

This commit is contained in:
OneOfEleven
2023-09-26 11:41:10 +01:00
parent 8acbfbc80d
commit 9d178c549a
6 changed files with 64 additions and 28 deletions

7
main.c
View File

@ -17,6 +17,9 @@
#include <string.h>
#include <stdio.h> // NULL
#ifdef ENABLE_AM_FIX
#include "am_fix.h"
#endif
#include "app/app.h"
#include "app/dtmf.h"
#include "audio.h"
@ -94,6 +97,10 @@ void Main(void)
BATTERY_GetReadings(false);
#ifdef ENABLE_AM_FIX
AM_fix_init();
#endif
// count the number of menu list items
gMenuListCount = 0;
while (MenuList[gMenuListCount].name[0] != '\0')