Compile scope error with Rep-firmware_1.0.0DEV

I get an error with "floorf" not defined in scope in the latest firmware 1.0.0DEV.  "floorf" is not used anywhere else, so I suppose it is just a simple typo, meant to be "floor".  I changed it and was able to compile and upload.  The typo is in Printer.cpp, line 2886.  I think I saw this same exact error a year or two ago.  Looks like it got re-introduced into the code.  

Please verify that this is what the problem is and the fix was proper.

Thanks

Comments

  • floorf is the float version of float. Since double equals float on arduino that might have the result of not having this official variant. Will test.
Sign In or Register to comment.