LVD-AC / Marlin-AC

developer version - always one step ahead of official Marlin
GNU General Public License v3.0
23 stars 16 forks source link

When I compile I get an error #27

Closed JoanAluja closed 6 years ago

JoanAluja commented 6 years ago

Hi,

I've downloaded Marlin-AC G-Force-8 and I changed the config in the Configuration.h file to set it up for my printer. And when I was about to upload it it gave this error while compiling:

Arduino:1.8.5 (Windows 10), Tarjeta:"Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

sketch\delta_auto_cal.cpp: In function 'void refresh_auto_cal_ref(float)':

delta_auto_cal.cpp:33: error: 'zprobe_zoffset' was not declared in this scope

     if (!isnan(z_shift)) zprobe_zoffset = cal_ref + z_shift;

                          ^

delta_auto_cal.cpp:34: error: 'zprobe_zoffset' was not declared in this scope

     cal_ref = zprobe_zoffset;

               ^

exit status 1
'zprobe_zoffset' was not declared in this scope

Thanks for all ;)

LVD-AC commented 6 years ago

Sorry, the file delta_auto_cal.cpp should have been deleted, just delete it and it should compile fine