1

Topic: Compiling Error with New Firmware

I am getting the following error when I try to upload the new firmware from github posted by NeilMartin:

Hysteresis.cpp:30: error: expected primary-expression before '{' token

Is there an easy fix for this?

2 (edited by caswal 2012-12-22 01:44:16)

Re: Compiling Error with New Firmware

Just to check, the latest firmware from here: https://github.com/mlaws/solidoodle2-marlin

I just pulled down a clone of the repository and it compliled fine. You do have Sanguino ATMega644P selected?

Sometimes I have had the arduino IDE be a little flakey, and just recompiling a few times and it does build. But that could of been that machine, that harddrive I think is on it's last legs.

Have you changed anything in Configuration.h say the line

#define DEFAULT_HYSTERESIS_MM         0, 0, 0, 0
Lead Programmer & Co-Owner of Camshaft Software - Creators of Automation - The Car Company Tycoon Game

3

Re: Compiling Error with New Firmware

Changing the Configuration.h line fixed it. 

Thanks