Do some stuff
All checks were successful
Build Firmware / build (push) Successful in 27s

This commit is contained in:
2025-03-10 21:48:58 +01:00
parent 8dd68d74a6
commit 4fe99744e1
9 changed files with 71 additions and 6 deletions

View File

@@ -42,6 +42,8 @@
#include "settings.h"
#include "ui/inputbox.h"
#include "ui/ui.h"
#include "driver/st7565.h"
#ifdef ENABLE_REGA
#include "app/rega.h"
#endif
@@ -58,6 +60,11 @@ static void ACTION_Scan_FM(bool bRestart);
static void ACTION_AlarmOr1750(bool b1750);
inline static void ACTION_Alarm() { ACTION_AlarmOr1750(false); }
inline static void ACTION_1750() { ACTION_AlarmOr1750(true); };
inline static void ACTION_SSTV() {
gFlagPrepareTX = gAlarmState != ALARM_STATE_OFF;
gAlarmState = ALARM_STATE_SSTV;
};
#endif
inline static void ACTION_ScanRestart() { ACTION_Scan(true); };
@@ -102,6 +109,8 @@ void (*action_opt_table[])(void) = {
[ACTION_OPT_1750] = &FUNCTION_NOP,
#endif
[ACTION_REQ_SSTV] = &ACTION_SSTV,
#ifdef ENABLE_BLMIN_TMP_OFF
[ACTION_OPT_BLMIN_TMP_OFF] = &ACTION_BlminTmpOff,
#else

View File

@@ -1395,9 +1395,9 @@ void APP_TimeSlice10ms(void) {
SCANNER_TimeSlice10ms();
if (gEnteringSMS == SMS_NOT_ENTERING) {
MSG_FSKReceiveData();
}
// if (gEnteringSMS == SMS_NOT_ENTERING) {
// MSG_FSKReceiveData();
// }
#ifdef ENABLE_AIRCOPY
if (gScreenToDisplay == DISPLAY_AIRCOPY && gAircopyState == AIRCOPY_TRANSFER && gAirCopyIsSendMode == 1) {

View File

@@ -977,7 +977,7 @@ void MAIN_ProcessKeys(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld) {
BK4819_ToggleGpioOut(BK4819_GPIO5_PIN1_RED, true);
MSG_FSKSendData(&dataPacket);
BK4819_ToggleGpioOut(BK4819_GPIO5_PIN1_RED, false);
MSG_EnableRX(true);
//MSG_EnableRX(true);
gVfoConfigureMode = VFO_CONFIGURE;
dataPTR = dataPacket.data;
memset(dataPacket.data, 0, DataPacketDataSize);