mBed LPC1768 ethernet experiment problem (solved)

Everything ARM and LPC

Moderator: phalanx

Post Reply
Posts: 1
Joined: Tue Jun 16, 2015 10:44 am

mBed LPC1768 ethernet experiment problem (solved)

Post by jmiller802 » Tue Jun 16, 2015 10:51 am

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..

Post Reply