Contact me: hankecnc@gmail.com

在禁用可变主轴的情况下启用停车。不编译。 #1055

推推 grbl 3年前 (2023-01-23) 434次浏览

打开
Juan-Gg 开了这个issue 2021 年 7 月 18 日 · 0 条评论

注释

在禁用可变主轴的情况下启用停车。不编译。 #1055

在 config.h 中取消注释第 564 行时:

#define PARKING_ENABLE // Default disabled. Uncomment to enable

如果在第 339 行中禁用了可变主轴:

//#define VARIABLE_SPINDLE // Default enabled. Comment to disable.

然后它不编译,给出这个错误:
C:\Users\admin\Documents\Arduino\libraries\grbl\protocol.c: In function 'protocol_exec_rt_suspend': C:\Users\admin\Documents\Arduino\libraries\grbl\protocol.c:597:42: error: 'restore_spindle_speed' undeclared (first use in this function) pl_data->spindle_speed = restore_spindle_speed; ^~~~~~~~~~~~~~~~~~~~~ C:\Users\admin\Documents\Arduino\libraries\grbl\protocol.c:597:42: note: each undeclared identifier is reported only once for each function it appears in exit status 1 Error compiling for board Arduino Uno.

我通过启用可变主轴并将 SPINDLE_PWM_MIN_VALUE 设置为 255 来临时修复它。
我是不是出了什么问题或者是一个错误?

谢谢,
胡安

喜欢 (0)