mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 11:09:57 +08:00
c741baa9e8
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
20 lines
570 B
Diff
20 lines
570 B
Diff
--- a/mcu/rtmp_mcu.c
|
|
+++ b/mcu/rtmp_mcu.c
|
|
@@ -31,6 +31,7 @@
|
|
INT MCUBurstWrite(PRTMP_ADAPTER pAd, UINT32 Offset, UINT32 *Data, UINT32 Cnt)
|
|
{
|
|
RTUSBMultiWrite_nBytes(pAd, Offset, Data, Cnt * 4, 64);
|
|
+ return 0;
|
|
}
|
|
|
|
INT MCURandomWrite(PRTMP_ADAPTER pAd, RTMP_REG_PAIR *RegPair, UINT32 Num)
|
|
@@ -39,6 +40,8 @@ INT MCURandomWrite(PRTMP_ADAPTER pAd, RTMP_REG_PAIR *RegPair, UINT32 Num)
|
|
|
|
for (Index = 0; Index < Num; Index++)
|
|
RTMP_IO_WRITE32(pAd, RegPair->Register, RegPair->Value);
|
|
+
|
|
+ return 0;
|
|
}
|
|
|
|
VOID ChipOpsMCUHook(PRTMP_ADAPTER pAd, enum MCU_TYPE MCUType)
|