AnsweredAssumed Answered

Float Cast Causing Link Error

Question asked by Ray Hall on Jun 19, 2015
Latest reply on Jun 21, 2015 by ZhangJennie

When I use a float to cast a value I get this link error that I do not know how to solve.


"Link Error : L1822  Symbol _FUFLOAT in file ...... is undefined"


This is an example of the code that causes the error.


uint16_t adc1, egt1;


egt1 = (int16_t)((float)adc1 / 204.8);