arch/arm/src/imxrt/imxrt_enet.c: Fix a warning about imxrt_calcethcrc() being defined, but not used.
This commit is contained in:
parent
9574b0f29b
commit
bfc8f9dfdb
@ -1471,8 +1471,8 @@ static int imxrt_txavail(struct net_driver_s *dev)
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#if defined(CONFIG_NET_IGMP) || defined(CONFIG_NET_ICMPv6)
|
||||
static uint32_t imxrt_calcethcrc(const uint8_t *data, size_t length)
|
||||
#ifdef CONFIG_NET_IGMP
|
||||
static uint32_t imxrt_calcethcrc(const uint8_t *data, size_t length)
|
||||
{
|
||||
uint32_t crc = 0xFFFFFFFFU;
|
||||
uint32_t count1 = 0;
|
||||
|
@ -788,7 +788,7 @@ static void sam_dfll_configure(const struct sam_dfll_config_s *config)
|
||||
regval32 = getreg32(SAM_OSCCTRL_DFLLVAL);
|
||||
}
|
||||
|
||||
/* Writing to the DFLLVAL will force it to re-syncrhonize */
|
||||
/* Writing to the DFLLVAL will force it to re-synchronize */
|
||||
|
||||
putreg32(regval32, SAM_OSCCTRL_DFLLVAL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user