Advertisement
Guest User

Untitled

a guest
Apr 7th, 2020
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.31 KB | None | 0 0
  1. Marlin\src\gcode\calibrate\M425.cpp:50:24: error: macro "CAN_CALIBRATE" requires 2 arguments, but only 1 given
  2.    50 |     if (CAN_CALIBRATE(a) && parser.seen(XYZ_CHAR(a))) {
  3.       |                        ^
  4. In file included from Marlin\src\gcode\calibrate\../../inc/MarlinConfig.h:35,
  5.                  from Marlin\src\gcode\calibrate\M425.cpp:23:
  6. Marlin\src\gcode\calibrate\../../inc/Conditionals_post.h:148: note: macro "CAN_CALIBRATE" defined here
  7.   148 |     #define CAN_CALIBRATE(A,B) (A##_AXIS_INDEX == B##_INDEX)
  8.       |
  9. Marlin\src\gcode\calibrate\M425.cpp:77:36: error: macro "CAN_CALIBRATE" requires 2 arguments, but only 1 given
  10.    77 |     LOOP_XYZ(a) if (CAN_CALIBRATE(a)) {
  11.       |                                    ^
  12. In file included from Marlin\src\gcode\calibrate\../../inc/MarlinConfig.h:35,
  13.                  from Marlin\src\gcode\calibrate\M425.cpp:23:
  14. Marlin\src\gcode\calibrate\../../inc/Conditionals_post.h:148: note: macro "CAN_CALIBRATE" defined here
  15.   148 |     #define CAN_CALIBRATE(A,B) (A##_AXIS_INDEX == B##_INDEX)
  16.       |
  17. Marlin\src\gcode\calibrate\M425.cpp:90:40: error: macro "CAN_CALIBRATE" requires 2 arguments, but only 1 given
  18.    90 |         LOOP_XYZ(a) if (CAN_CALIBRATE(a) && backlash.has_measurement(AxisEnum(a))) {
  19.       |                                        ^
  20. In file included from Marlin\src\gcode\calibrate\../../inc/MarlinConfig.h:35,
  21.                  from Marlin\src\gcode\calibrate\M425.cpp:23:
  22. Marlin\src\gcode\calibrate\../../inc/Conditionals_post.h:148: note: macro "CAN_CALIBRATE" defined here
  23.   148 |     #define CAN_CALIBRATE(A,B) (A##_AXIS_INDEX == B##_INDEX)
  24.       |
  25. Compiling .pio\build\LPC1768\src\src\gcode\config\M218.cpp.o
  26. Compiling .pio\build\LPC1768\src\src\gcode\config\M220.cpp.o
  27. Marlin\src\gcode\calibrate\M425.cpp: In static member function 'static void GcodeSuite::M425()':
  28. Marlin\src\gcode\calibrate\M425.cpp:50:9: error: 'CAN_CALIBRATE' was not declared in this scope
  29.    50 |     if (CAN_CALIBRATE(a) && parser.seen(XYZ_CHAR(a))) {
  30.       |         ^~~~~~~~~~~~~
  31. Marlin\src\gcode\calibrate\M425.cpp:77:21: error: 'CAN_CALIBRATE' was not declared in this scope
  32.    77 |     LOOP_XYZ(a) if (CAN_CALIBRATE(a)) {
  33.       |                     ^~~~~~~~~~~~~
  34. compilation terminated due to -fmax-errors=5.
  35. *** [.pio\build\LPC1768\src\src\gcode\calibrate\M425.cpp.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement