error: expected string-literal before numeric constant

I have an MKS Base 1.5 trying to set up a BLTouch keep getting the following error: expected string-literal before numeric constant. See full error attached.

Thanks in advance for your help!

Error Code.txt (186 KB)

Please copy the full error message (there is a button in teh IDE to do it) and paste it here

He did - it was so large he had to attach it. There are probably multiple problems (in the code you didnt post), but i suspect at least one of them relates to the defines - those get substituted in (think find/replace) so a bad define will throw up errors every place its used.

#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE, 46

That comma shouldn't be there, should it?

Here is the Code attached.

Code.txt (71.6 KB)

Nobody has any ideas?

As was previously pointed out you have many #defines with commas in such as

// Set the boundaries for probing (where the probe can reach).
#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE, 46
#define RIGHT_PROBE_BED_POSITION, 254
#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE, 20
#define BACK_PROBE_BED_POSITION, 290

Should the commas be there ?

A NO! Makes no difference in the error, in fact now it errors saying it needs the "," as it is now missing.

Where does one go if no one on the forum here can help?

Usually you'd post your updated code, and the new error messages, and describe the results of your troubleshoting.

I suppose a good alternative might be talking to whoever wrote the code.

BTW, what's the ENABLED() macro/function supposed to do?

Where does one go if no one on the forum here can help?

Is there a Marlin 3D printer support forum ?