Page 1 of 1

mBed LPC1768 ethernet experiment problem (solved)

Posted: Tue Jun 16, 2015 10:51 am
by jmiller802
I have the Sparkfun mBed Starter Kit and just tried Experiment 5 "Internet Clock". The compiler threw the following error:
Warning: C4017W: tmp may be used before being set in "EthernetInterface/lwip-eth/arch/TARGET_NXP/lpc_phy_dp83848.c", Line: 317, Col: 7
The offending code is:
u32_t tmp;

Changing it to the following cleared the error:
u32_t tmp = 0;

Maybe this will help the next person who runs into this..