HCoop
/
clinton
/
Smoothieware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Events: add ON_SECOND_TICK event that fires once per second. Also finish moving event...
[clinton/Smoothieware.git]
/
src
/
libs
/
SlowTicker.h
diff --git
a/src/libs/SlowTicker.h
b/src/libs/SlowTicker.h
index
ca2cd0c
..
393dbcf
100644
(file)
--- a/
src/libs/SlowTicker.h
+++ b/
src/libs/SlowTicker.h
@@
-41,11
+41,16
@@
class SlowTicker : public Module{
return hook;
}
+ bool flag_1s();
+
vector<Hook*> hooks;
int max_frequency;
int interval;
Pin ispbtn;
+protected:
+ int flag_1s_count;
+ volatile int flag_1s_flag;
};