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

Fixed error I made in makefile (python call now works - IF you have python installed)

This commit is contained in:
OneOfEleven
2023-09-21 07:31:29 +01:00
parent 5fe4e81c79
commit 835378c78c
23 changed files with 196 additions and 49 deletions

13
main.c
View File

@ -15,6 +15,7 @@
*/
#include <string.h>
#include <stdio.h> // NULL
#include "app/app.h"
#include "app/dtmf.h"
@ -95,7 +96,12 @@ void Main(void)
BATTERY_GetReadings(false);
// count the number of menu list items
gMenuListCount = 0;
// while (MenuList[gMenuListCount][0] != 0)
while (MenuList[gMenuListCount] != NULL)
gMenuListCount++;
gMenuListCount -= 8; // disable the last few menu items .. they are the normally 'hidden' menu items
boot_counter_10ms = 250; // 2.5 sec
@ -114,13 +120,6 @@ void Main(void)
{
BOOT_Mode_t BootMode;
// count the number of menu list items
while (MenuList[gMenuListCount][0] != 0)
gMenuListCount++;
// disable the N menu items
//gMenuListCount -= 6;
gMenuListCount -= 8;
UI_DisplayWelcome();
BACKLIGHT_TurnOn();