In motorware, some of the labs use the FPU.
proj_lab04a uses the FPU, where proj_lab04 doesn't. The difference I see is that in lab4a EST_ call return values are assigned to a tmp variable, where in lab04, EST_ call return values are assigned directly to the gMotorVar.
And in in proj_lab04a, there is a comment that says:
// when calling EST_ functions that return a float, and fpu32 is enabled, an integer is needed as a return
// so that the compiler reads the returned value from the accumulator instead of fpu32 registers
Seems like the comment is saying that the FPU is not used in lab_04a.
Where in the code is it specified that the FPU is to be used?
Thanks in advance!
Charlie