overworked ultralcd a bit

This commit is contained in:
Bernhard
2011-11-25 23:37:08 +01:00
parent a6823a84e1
commit c54a807824
2 changed files with 10 additions and 9 deletions

View File

@ -35,6 +35,7 @@ public:
inline int16_t get() { sdpos = file.curPosition();return (int16_t)file.read();};
inline void setIndex(long index) {sdpos = index;file.seekSet(index);};
inline uint8_t percentDone(){if(!sdprinting) return 0; if(filesize) return sdpos*100/filesize; else return 0;};
inline char* getWorkDirName(){workDir.getFilename(filename);return filename;};
public:
bool saving;