arch/arm/src/sam34/sam_udp.c: Fix a type mismatch

This commit is contained in:
YAMAMOTO Takashi 2020-11-13 14:43:42 +09:00 committed by Xiang Xiao
parent 5ef5d2c598
commit 41b357128d

View File

@ -731,7 +731,7 @@ static void sam_putreg(uint32_t regval, uintptr_t regaddr)
putreg32(regval, regaddr);
}
#else
static inline void sam_putreg(uint32_t regval, uint32_t regaddr)
static inline void sam_putreg(uint32_t regval, uintptr_t regaddr)
{
putreg32(regval, regaddr);
}