Bob-the-Kuhn 8 лет назад
Родитель
Сommit
28d72f48f1
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      Marlin/configuration_store.cpp

+ 1
- 1
Marlin/configuration_store.cpp Просмотреть файл

1130
   LOOP_XYZE_N(i) {
1130
   LOOP_XYZE_N(i) {
1131
     planner.axis_steps_per_mm[i]          = pgm_read_float(&tmp1[i < COUNT(tmp1) ? i : COUNT(tmp1) - 1]);
1131
     planner.axis_steps_per_mm[i]          = pgm_read_float(&tmp1[i < COUNT(tmp1) ? i : COUNT(tmp1) - 1]);
1132
     planner.max_feedrate_mm_s[i]          = pgm_read_float(&tmp2[i < COUNT(tmp2) ? i : COUNT(tmp2) - 1]);
1132
     planner.max_feedrate_mm_s[i]          = pgm_read_float(&tmp2[i < COUNT(tmp2) ? i : COUNT(tmp2) - 1]);
1133
-    planner.max_acceleration_mm_per_s2[i] = pgm_read_float(&tmp3[i < COUNT(tmp3) ? i : COUNT(tmp3) - 1]);
1133
+    planner.max_acceleration_mm_per_s2[i] = pgm_read_dword_near(&tmp3[i < COUNT(tmp3) ? i : COUNT(tmp3) - 1]);
1134
   }
1134
   }
1135
 
1135
 
1136
   planner.acceleration = DEFAULT_ACCELERATION;
1136
   planner.acceleration = DEFAULT_ACCELERATION;

Загрузка…
Отмена
Сохранить