Fix Probe Offset XY edit items (et Français) (#16523)

This commit is contained in:
Tanguy Pruvot 2020-01-10 20:04:59 +01:00 committed by Scott Lahteine
parent 409d7378d9
commit f9f7697b96
2 changed files with 5 additions and 2 deletions

View file

@ -365,6 +365,9 @@ namespace Language_fr {
PROGMEM Language_Str MSG_MANUAL_DEPLOY = _UxGT("Déployer Sonde Z");
PROGMEM Language_Str MSG_MANUAL_STOW = _UxGT("Ranger Sonde Z");
PROGMEM Language_Str MSG_HOME_FIRST = _UxGT("Origine %s%s%s Premier");
PROGMEM Language_Str MSG_ZPROBE_OFFSETS = _UxGT("Position sonde Z");
PROGMEM Language_Str MSG_ZPROBE_XOFFSET = _UxGT("Décalage X");
PROGMEM Language_Str MSG_ZPROBE_YOFFSET = _UxGT("Décalage Y");
PROGMEM Language_Str MSG_ZPROBE_ZOFFSET = _UxGT("Décalage Z");
PROGMEM Language_Str MSG_BABYSTEP_TOTAL = _UxGT("Total");
PROGMEM Language_Str MSG_ENDSTOP_ABORT = _UxGT("Butée abandon");

View file

@ -506,8 +506,8 @@ void menu_cancelobject();
void menu_probe_offsets() {
START_MENU();
BACK_ITEM(MSG_ADVANCED_SETTINGS);
EDIT_ITEM(float51, MSG_ZPROBE_XOFFSET, &probe_offset.x, -(X_BED_SIZE), X_BED_SIZE);
EDIT_ITEM(float51, MSG_ZPROBE_YOFFSET, &probe_offset.y, -(Y_BED_SIZE), Y_BED_SIZE);
EDIT_ITEM(float51sign, MSG_ZPROBE_XOFFSET, &probe_offset.x, -(X_BED_SIZE), X_BED_SIZE);
EDIT_ITEM(float51sign, MSG_ZPROBE_YOFFSET, &probe_offset.y, -(Y_BED_SIZE), Y_BED_SIZE);
EDIT_ITEM(LCD_Z_OFFSET_TYPE, MSG_ZPROBE_ZOFFSET, &probe_offset.z, Z_PROBE_OFFSET_RANGE_MIN, Z_PROBE_OFFSET_RANGE_MAX);
END_MENU();
}