开源改变世界

制造错误 #1045

推推 grbl 2年前 (2023-01-23) 101次浏览

关闭
tom4tom 打开了这个问题 2016 年 7 月 27 日 · 1条评论
关闭

制造错误#1045

tom4tom 打开了这个问题 2016 年 7 月 27 日 · 1条评论

注释

制造错误 #1045

grbl/system.c: 在函数“system_convert_corexy_to_x_axis_steps”中:
grbl/system.c:294:18: error: ‘A_MOTOR’ undeclared (first use in this function)
return( (steps[A_MOTOR] + steps[B_MOTOR])/2 );
^
grbl/system.c:294:18: 注意:对于出现在 grbl/system.c:294:35 中的每个函数,每个未声明的标识符仅报告一次
:错误:’B_MOTOR’ 未声明(首次在此函数中使用)
返回( (步数[A_MOTOR] + 步数[B_MOTOR])/2 );
^
grbl/system.c: 在函数“system_convert_corexy_to_y_axis_steps”中:
grbl/system.c:298:18: error: ‘A_MOTOR’ undeclared (first use in this function)
return( (steps[A_MOTOR] – steps[B_MOTOR])/ 2);
^
grbl/system.c:298:35: error: ‘B_MOTOR’ undeclared (first use in this function)
return( (steps[A_MOTOR] – steps[B_MOTOR])/2 );
^
grbl/system.c: 在函数 ‘system_convert_corexy_to_x_axis_steps’ 中:
grbl/system.c:295:1: 警告:控制到达非空函数的末尾 [-Wreturn-type]
}
^
grbl/system.c: 在函数 ‘ system_convert_corexy_to_y_axis_steps’:
grbl/system.c:299:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Makefile:53: die Regel für Ziel „build/system.o“ scheiterte
make:* ** [build/system.o] Fehler 1

制造错误 #1045
成员

@tom4tom: 我的错。现在修好了。

喜欢 (0)