Some minor changes on code style. And a bugfix where the counters for positioning in the stepper where wrong depending on compiler settings. (Caused strange values to reported back with M114 and endstop triggers). Also fixed compiling with FWRETRACT enabled.

This commit is contained in:
daid303
2012-12-03 12:13:20 +01:00
parent 6c51fe5039
commit 94ea26ff46
6 changed files with 24 additions and 18 deletions

View File

@ -66,6 +66,7 @@ private:
char* diveDirName;
void lsDive(const char *prepend,SdFile parent);
};
extern CardReader card;
#define IS_SD_PRINTING (card.sdprinting)
#else