Results 1 to 3 of 3
Thread: Adding a Second Gantry to Marlin
Threaded View
-
01-16-2016, 01:53 PM #3
- Join Date
- Jan 2016
- Posts
- 2
Right now the function looks like:
Code:void st_init(){ ... }
There were only a few #ifdef that I could delete, mostly the dual_z_stepper.
After some more testing of the error I found that it wont happen if I comment out the
//void st_init()
but it would just occur at a later void function definition.
For instance it is now giving me the same error here:
Code:void finishAndDisableSteppers() { st_synchronize(); disable_x(); disable_y(); disable_z(); disable_e0(); disable_e1(); disable_e2(); }
stepper.cpp: In function 'void __vector_17()':
stepper.cpp:831: error: a function-definition is not allowed here before '{' token
{
^
stepper.cpp:1372: error: expected '}' at end of input
}
^
a function-definition is not allowed here before '{' token
Edit: After about an hour of checking everything I found the error.Last edited by WinstonPHz; 01-16-2016 at 08:33 PM.
Please explain to me how to...
05-13-2024, 03:08 PM in 3D Printer Parts, Filament & Materials