Add custom types for position (#15204)
This commit is contained in:
@@ -345,9 +345,10 @@ void MarlinUI::draw_status_screen() {
|
||||
#endif
|
||||
heat_bits = new_bits;
|
||||
#endif
|
||||
strcpy(xstring, ftostr4sign(LOGICAL_X_POSITION(current_position[X_AXIS])));
|
||||
strcpy(ystring, ftostr4sign(LOGICAL_Y_POSITION(current_position[Y_AXIS])));
|
||||
strcpy(zstring, ftostr52sp( LOGICAL_Z_POSITION(current_position[Z_AXIS])));
|
||||
const xyz_pos_t lpos = current_position.asLogical();
|
||||
strcpy(xstring, ftostr4sign(lpos.x));
|
||||
strcpy(ystring, ftostr4sign(lpos.y));
|
||||
strcpy(zstring, ftostr52sp( lpos.z));
|
||||
#if ENABLED(FILAMENT_LCD_DISPLAY)
|
||||
strcpy(wstring, ftostr12ns(filwidth.measured_mm));
|
||||
strcpy(mstring, i16tostr3(planner.volumetric_percent(parser.volumetric_enabled)));
|
||||
|
||||
Reference in New Issue
Block a user