Revision 204
Some byte hacks to reduce size.
main.c | ||
---|---|---|
30 | 30 |
#include <stdint.h> |
31 | 31 |
#include <util/delay.h> |
32 | 32 |
#include <tooltron.h> |
33 |
#include <toolbox_pindefs.h> |
|
33 | 34 |
#include "jumptable.h" |
34 | 35 |
#include "reset.h" |
35 |
#include <toolbox_pindefs.h> |
|
36 | 36 |
|
37 | 37 |
/*** |
38 | 38 |
* TWAIT - minutes to wait before green button is pressed to kill power |
... | ... | |
46 | 46 |
uint8_t sec; |
47 | 47 |
uint8_t min; |
48 | 48 |
|
49 |
typedef struct { |
|
50 |
uint8 |
|
51 |
|
|
49 | 52 |
typedef enum { |
50 | 53 |
wait, // wait for a turn on packet |
51 | 54 |
pwron, // poweron |
Also available in: Unified diff