Among other hundreds of very annoying warnings, there is also the following error.
Best Regards,
Micilera
C:\Users\xx\AppData\Local\Temp\arduino_build_83946\sketch\src\core\nozzle\nozzle.cpp: In static member function 'static void Nozzle::clean(const uint8_t&, const uint8_t&, const float&, const uint8_t&, uint8_t)':
C:\Users\xx\AppData\Local\Temp\arduino_build_83946\sketch\src\core\nozzle\nozzle.cpp:119:11: error: ambiguous overload for 'operator=' (operand types are 'xyz_pos_t {aka XYZval}' and '')
In file included from C:\Users\xx\AppData\Local\Temp\arduino_build_83946\sketch\src\commands../../src/core/stepper/stepper.h:44:0,
from C:\Users\xx\AppData\Local\Temp\arduino_build_83946\sketch\src\commands\../../MK4duo.h:128,
from C:\Users\xx\AppData\Local\Temp\arduino_build_83946\sketch\src\commands\commands.cpp:29:
Among other hundreds of very annoying warnings, there is also the following error. Best Regards, Micilera
C:\Users\xx\AppData\Local\Temp\arduino_build_83946\sketch\src\core\nozzle\nozzle.cpp: In static member function 'static void Nozzle::clean(const uint8_t&, const uint8_t&, const float&, const uint8_t&, uint8_t)':
C:\Users\xx\AppData\Local\Temp\arduino_build_83946\sketch\src\core\nozzle\nozzle.cpp:119:11: error: ambiguous overload for 'operator=' (operand types are 'xyz_pos_t {aka XYZval}' and '')
C:\Users\xx\AppData\Local\Temp\arduino_build_83946\sketch\src\core\nozzle\nozzle.cpp:119:11: note: candidates are:
In file included from C:\Users\xx\AppData\Local\Temp\arduino_build_83946\sketch\src\core\nozzle../../../MK4duo.h:106:0,
C:\Users\xx\AppData\Local\Temp\arduino_build_83946\sketch\src\core\nozzle../../../src/lib/types.h:300:14: note: XYZval& XYZval::operator=(const XYZEval&) [with T = float]
XYZval& operator= (const XYZEval &xyze) { set(xyze.x, xyze.y, xyze.z); return *this; }
In file included from C:\Users\xx\AppData\Local\Temp\arduino_build_83946\sketch\src\core\nozzle../../../MK4duo.h:106:0,
C:\Users\xx\AppData\Local\Temp\arduino_build_83946\sketch\src\core\nozzle../../../src/lib/types.h:267:8: note: XYZval& XYZval::operator=(const XYZval&)
struct XYZval {
C:\Users\xx\AppData\Local\Temp\arduino_build_83946\sketch\src\core\nozzle../../../src/lib/types.h:267:8: note: XYZval& XYZval::operator=(XYZval&&)
In file included from C:\Users\xx\AppData\Local\Temp\arduino_build_83946\sketch\src\commands../../src/core/stepper/stepper.h:44:0,