Skip to content

want to use Axis I,J,K,U,V,W #29

Description

@brvcool45

Upto I,J,K,U compiles. But adding V&W getting below errors.

Marlin\src\HAL\STM32../../inc/../core/types.h: In member function 'void XYZval::set(T, T, T, T, T, T, T)':
Marlin\src\HAL\STM32../../inc/../core/types.h:497:155: error: 'pu' was not declared in this scope; did you mean 'px'?
497 | FI void set(const T px, const T py, const T pz, const T pi, const T pj, const T pk, const T pm) { x = px; y = py; z = pz; i = pi; j = pj; k = pk; u = pu; }
Marlin\src\HAL\STM32../../inc/../core/types.h: In member function 'XYZval& XYZval::operator*=(const float&)':
Marlin\src\HAL\STM32../../inc/../core/types.h:596:151: error: assignment of read-only location 'v'
596 | FI XYZval& operator*=(const float &v) { NUM_AXIS_CODE(x *= v, y *= v, z *= v, i *= v, j *= v, k *= v, u *= v, v *= v, w *= v); return *this; }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions