diff --git a/app/app.c b/app/app.c index ee96e27..51191e8 100644 --- a/app/app.c +++ b/app/app.c @@ -707,6 +707,10 @@ static void CheckRadioInterrupts(void) g_FSK_Buffer[gFSKWriteIndex++] = BK4819_ReadRegister(BK4819_REG_5F); AIRCOPY_StorePacket(); } +#endif +#ifdef ENABLE_MDC1200 + MDC1200_process_rx( interrupt_status_bits); + #endif } } diff --git a/driver/bk4819.c b/driver/bk4819.c index 8366b7c..0ce24e9 100644 --- a/driver/bk4819.c +++ b/driver/bk4819.c @@ -1784,9 +1784,8 @@ void BK4819_PlayDTMFEx(bool bLocalLoopback, char Code) BK4819_ExitTxMute(); } -//ENABLE_MDC1200 -#define h -#ifdef h + +#ifdef ENABLE_MDC1200 void BK4819_start_tone(const uint16_t frequency, const unsigned int level, const bool tx, const bool tx_mute) { SYSTEM_DelayMs(1);