this commit could have been so, so huge if i managed to embed arduino

This commit is contained in:
2026-01-16 18:41:23 +01:00
parent ba61f9b181
commit f2c393c60a
8 changed files with 11 additions and 1012 deletions

View File

@@ -21,9 +21,9 @@ using fs::FS;
#include "nonvolatile.h"
#include "utils.h"
#include "system_console.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "esp_task_wdt.h"
#include <freertos/FreeRTOS.h>
#include <freertos/task.h>
#include <esp_task_wdt.h>
#pragma endregion
Console console(&tft);
@@ -3926,7 +3926,6 @@ uint8_t doAutoMemory(uint16_t startfreq, uint16_t stopfreq, uint8_t startmem, ui
SignalSprite.pushImage(-107, -95, 292, 170, popupbackground_wo);
SquelchSprite.pushImage(-177, -135, 292, 170, popupbackground_wo);
break;
default:
SignalSprite.pushImage(-107, -95, 292, 170, popupbackground);
SquelchSprite.pushImage(-177, -135, 292, 170, popupbackground);
@@ -3964,11 +3963,11 @@ uint8_t doAutoMemory(uint16_t startfreq, uint16_t stopfreq, uint8_t startmem, ui
}
extern "C" void app_main() {
initArduino();
setup();
esp_task_wdt_add(NULL);
while(true) {
esp_task_wdt_reset();
loop();
}
initArduino();
setup();
esp_task_wdt_add(NULL);
while(true) {
esp_task_wdt_reset();
loop();
}
}

View File

@@ -638,7 +638,7 @@ void ShowAFEON() {
} else eon_numbers = radio.eon_counter - 10;
for (byte i = 0; i < eon_numbers; i++) {
if (eonpicodeold[i + y] == nullptr) strcpy(eonpicodeold[i + y], "");
if (eonpicodeold[i + y][0] == '\0') strcpy(eonpicodeold[i + y], "");
if (eonpsold[i + y] == nullptr) eonpsold[i + y] = "";
if (mappedfreqold[i + y] == 0) mappedfreqold[i + y] = 0;
if (mappedfreqold2[i + y] == 0) mappedfreqold2[i + y] = 0;