mt7601u-ap: build error fixes

This commit is contained in:
AmadeusGhost 2021-01-28 11:30:01 +08:00
parent 33b80c2ba1
commit 8c637017e4

View File

@ -0,0 +1,19 @@
--- 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)