mt7601u-ap: build error fixes
Signed-off-by: CN_SZTL <cnsztl@project-openwrt.eu.org>
This commit is contained in:
parent
8a1660342a
commit
af23314be5
@ -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)
|
||||
Loading…
Reference in New Issue
Block a user