diff --git a/Marlin/src/feature/pitta/pitta.cpp b/Marlin/src/feature/pitta/pitta.cpp index 659fdb9..ff7955e 100644 --- a/Marlin/src/feature/pitta/pitta.cpp +++ b/Marlin/src/feature/pitta/pitta.cpp @@ -730,7 +730,7 @@ void ext_snap() cur_ext_dir = INV_DIR; E0_DIR_WRITE(INVERT_E0_DIR ? !INV_DIR : INV_DIR); delay(2); - int add = 0; + int add = 0, add_cnt = 0, sub = 0; int add_bit = 0, sub_bit = 0; int dip_melt = 0; int l_turn = 0; @@ -740,9 +740,40 @@ void ext_snap() switch (ptrn_n) { case 0: { - dip_melt = resrv2*10;//50 - ext_flat(INV_DIR, 250, 300); - l_turn = 22;//20 + resrv2 = 45; + ext_flat(INV_DIR, 100, 50); + ext_flat(INV_DIR, 1000, 250); + // l_turn = resrv2;// + for (int i = 0; i<10; i++ ) { ////20//resrv2 + ext_flat(INV_DIR, TURN_PASS, 15); + ext_flat(INV_DIR, SLOW_PASS, 10); + ext_flat(INV_DIR, 110, 20); + ext_flat(INV_DIR, 90, 20); + ext_flat(INV_DIR, 80, 20); + ext_flat(INV_DIR, 70, 15); + ext_flat(INV_DIR, FAST_PASS, 10); + ext_flat(INV_DIR, 70, 15); + ext_flat(INV_DIR, 80, 20); + ext_flat(INV_DIR, 90, 20); + ext_flat(INV_DIR, 110, 20); + ext_flat(INV_DIR, SLOW_PASS, 15); + ext_flat(INV_DIR, TURN_PASS, 10); + + ext_flat(NOM_DIR, TURN_PASS, 10); + ext_flat(NOM_DIR, SLOW_PASS, 15); + ext_flat(NOM_DIR, 110, 20); + ext_flat(NOM_DIR, 90, 20); + ext_flat(NOM_DIR, 80, 20); + ext_flat(NOM_DIR, 70, 15); + ext_flat(NOM_DIR, FAST_PASS, 0); + ext_flat(NOM_DIR, 70, 15); + ext_flat(NOM_DIR, 80, 20); + ext_flat(NOM_DIR, 90, 20); + ext_flat(NOM_DIR, 110, 20); + ext_flat(NOM_DIR, SLOW_PASS, 10); + ext_flat(NOM_DIR, TURN_PASS, 15); + } + l_turn = resrv2;// for (int i = 0; i