HCoop
/
clinton
/
Smoothieware.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
refactor ON_HALT, add THEKERNEL->is_halted() for modules that just need to test it...
[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
8
class
PlayLed
:
public
Module
9
{
10
public
:
11
PlayLed
();
12
13
void
on_module_loaded
(
void
);
14
void
on_config_reload
(
void
*);
15
16
private
:
17
uint32_t
led_tick
(
uint32_t
);
18
Pin led
;
19
struct
{
20
uint8_t
cnt
:
4
;
21
};
22
};
23
24
#endif
/* _PLAYLED_H */