Quantcast
Channel: Reprap Forum - Firmware - Marlin
Viewing all articles
Browse latest Browse all 12089

Re: Help with compiling errors - Almost solved

$
0
0
I have fixed most of the errors except this one:

sketch/Marlin_main.cpp: In function 'void set_bed_level_equation_lsq(double*)':
sketch/Marlin_main.cpp:998:36: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
planeNormal.debug("planeNormal");

This error appears as soon as I enable auto bed levelling (no other changes made)


I'm using 1.0.2 Marlin release, however what fixed most of the issues was changing the MAX_ENDSTOP_INVERTING to true (see below). This meant that I could comment out #define DISABLE_MAX_ENDSTOPS. There were a couple of other syntax errors which I corrected.


const bool X_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
const bool Y_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.
const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
const bool X_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
const bool Y_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop.
//#define DISABLE_MAX_ENDSTOPS
//#define DISABLE_MIN_ENDSTOPS

Viewing all articles
Browse latest Browse all 12089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>