Merge branch 'feature/ActionQueue_redux' into edge
[clinton/Smoothieware.git] / src / modules / utils / PlayLed / PlayLed.h
1 #ifndef _PLAYLED_H
2 #define _PLAYLED_H
3
4 #include "libs/Kernel.h"
5 #include "libs/Pin.h"
6
7 #define pause_led_pin_checksum CHECKSUM("pause_led_pin")
8 #define play_led_pin_checksum CHECKSUM("play_led_pin")
9
10 class PlayLed : public Module {
11 public:
12 PlayLed();
13
14 void on_module_loaded(void);
15
16 void on_config_reload(void*);
17
18 void on_play( void*);
19 void on_block_begin( void*);
20 void on_block_end( void*);
21
22 uint32_t half_second_tick(uint32_t);
23
24 Pin led;
25 };
26
27 #endif /* _PLAYLED_H */