Invalid operands

Hi,

Do you know why I have this error during compilation ? It is new dev version, downloaded last Thursday:

Arduino 1.6.13
"
sketch/Commands.cpp: In static member function 'static void Commands::processMCode(GCode*)':
Commands.cpp:2141: error: invalid operands of types 'long int' and 'float []' to binary 'operator*'
     if(abs(com->Z) < (32700 - labs(Printer::zBabystepsMissing)) * Printer::axisStepsPerMM)
                                                                            ^
Commands.cpp:2142: error: invalid operands of types 'float' and 'float []' to binary 'operator*'
     Printer::zBabystepsMissing += com->Z * Printer::axisStepsPerMM;
                                                     ^
exit status 1
invalid operands of types 'long int' and 'float []' to binary 'operator*'
"

Comments

  • Ok, downloaded whole firmware again and just copy-past configuration.h file, that solved this issue.
  • Yes, was a bug I fixed 2 days ago.
Sign In or Register to comment.