add back mdc rx

This commit is contained in:
wu58430 2023-12-07 14:24:34 +08:00
parent 8e7644a50e
commit 8cc09dd135
2 changed files with 6 additions and 3 deletions

View file

@ -707,6 +707,10 @@ static void CheckRadioInterrupts(void)
g_FSK_Buffer[gFSKWriteIndex++] = BK4819_ReadRegister(BK4819_REG_5F); g_FSK_Buffer[gFSKWriteIndex++] = BK4819_ReadRegister(BK4819_REG_5F);
AIRCOPY_StorePacket(); AIRCOPY_StorePacket();
} }
#endif
#ifdef ENABLE_MDC1200
MDC1200_process_rx( interrupt_status_bits);
#endif #endif
} }
} }

View file

@ -1784,9 +1784,8 @@ void BK4819_PlayDTMFEx(bool bLocalLoopback, char Code)
BK4819_ExitTxMute(); BK4819_ExitTxMute();
} }
//ENABLE_MDC1200
#define h #ifdef ENABLE_MDC1200
#ifdef h
void BK4819_start_tone(const uint16_t frequency, const unsigned int level, const bool tx, const bool tx_mute) void BK4819_start_tone(const uint16_t frequency, const unsigned int level, const bool tx, const bool tx_mute)
{ {
SYSTEM_DelayMs(1); SYSTEM_DelayMs(1);