[LPCXpresso v8.1.0] Compile Error for Inline Functions

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by kiantek on Sun Feb 28 20:29:31 MST 2016
Hi, after upgrading to the new IDE, compiler prompted error on all inline functions.

For instance, I had errors for following function:

"more undefined references to `waitMs' follow"

/* Millisecond Delay */
inline void waitMs(uint32_t time)
while (time--)
volatile uint32_t i;
for (i = 0; i < (12*1000); i++) {;}//This logic was tested for 1 millisecond delay

Any ideas what went wrong?