0
mirror of https://github.com/OneOfEleven/uv-k5-firmware-custom.git synced 2025-06-20 15:08:37 +03:00

Radio kill/revive code compile option added

This commit is contained in:
OneOfEleven
2023-10-16 22:29:23 +01:00
parent 695cf81d17
commit 73572f24b1
15 changed files with 171 additions and 105 deletions

View File

@ -543,6 +543,11 @@ void AIRCOPY_process_fsk_rx_10ms(void)
data[3] = 0xffff;
//#endif
}
else
if (eeprom_addr == 0x0F40)
{ // killed flag is here
data[2] = false; // remove it
}
EEPROM_WriteBuffer(eeprom_addr, data); // 8 bytes at a time
data += write_size / sizeof(data[0]);