Merge remote-tracking branch 'upstream/master' into edge
[clinton/Smoothieware.git] / src / modules / utils / pausebutton / PauseButton.h
1 #ifndef PAUSEBUTTON_H
2 #define PAUSEBUTTON_H
3
4 #include "libs/Pin.h"
5
6 class PauseButton : public Module {
7 public:
8 PauseButton();
9
10 void on_module_loaded();
11 void on_console_line_received( void *argument );
12 uint32_t button_tick(uint32_t dummy);
13
14 private:
15 Pin button;
16 struct {
17 bool enable:1;
18 bool button_state:1;
19 };
20 };
21
22 #endif