Test
Some checks failed
Build Firmware / build (push) Has been cancelled

This commit is contained in:
2025-11-04 19:49:24 +01:00
parent 1ec2e15de8
commit b54e5ef8a5
5 changed files with 57 additions and 35 deletions

View File

@@ -36,7 +36,8 @@ void MESSAGES_SAVE() {
if (msgIndex >= MESSAGES_COUNT) {
msgIndex = 0;
}
Data[1]++;
msgIndex++;
Data[1] = msgIndex;
EEPROM_WriteBuffer(SEQParameterEEPROM, Data);
EEPROM_WriteBuffer(MESSAGES_START + (msgIndex * sizeof(StoredPacket)) + 0,
(uint8_t *) &inBoundPacket + 4); // metadata
@@ -121,7 +122,7 @@ void MESSAGES_ProcessKeys(KEY_Code_t Key, bool bKeyPressed, bool bKeyHeld) {
if (bKeyPressed) {
memset(dataPacket.data, 0, DataPacketDataSize);
prepareDataPacket();
//dataPacket.flags = 0x80 | (gCurrentVfo->OUTPUT_POWER & 0x07);
dataPacket.flags = 0x80 | (gCurrentVfo->OUTPUT_POWER & 0x07);
if (dataPacket.src == 665 || dataPacket.src == 664) {
uint8_t out[5];