IsStopped / IsRunning inline

This commit is contained in:
Scott Lahteine
2015-04-08 00:56:19 -07:00
parent cf9b58452c
commit 27cb90da8b
3 changed files with 29 additions and 23 deletions

View File

@ -219,7 +219,9 @@ void Stop();
void filrunout();
#endif
bool IsStopped();
extern bool Running;
inline bool IsRunning() { return Running; }
inline bool IsStopped() { return !Running; }
bool enquecommand(const char *cmd); //put a single ASCII command at the end of the current buffer or return false when it is full
void enquecommands_P(const char *cmd); //put one or many ASCII commands at the end of the current buffer, read from flash