浏览代码

Prevent park_point compile error

Scott Lahteine 5 年前
父节点
当前提交
6913a4dfa8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      Marlin/src/feature/probe_temp_compensation.h

+ 1
- 1
Marlin/src/feature/probe_temp_compensation.h 查看文件

@@ -57,7 +57,7 @@ class ProbeTempComp {
57 57
     static const temp_calib_t cali_info[TSI_COUNT];
58 58
 
59 59
     // Where to park nozzle to wait for probe cooldown
60
-    static constexpr xyz_pos_t park_point = { PTC_PARK_POS_X, PTC_PARK_POS_Y, PTC_PARK_POS_Z };
60
+    static constexpr xyz_pos_t park_point = xyz_pos_t({ PTC_PARK_POS_X, PTC_PARK_POS_Y, PTC_PARK_POS_Z });
61 61
 
62 62
     static constexpr int  max_bed_temp         = PTC_MAX_BED_TEMP,  // Max temperature to avoid heating errors
63 63
 

正在加载...
取消
保存