Revision 202
- Moved the reset code to toolbox since it is the only code that uses it
- Optimized the toolbox statemachine to use parse_packet and the bootloader
function - Small byte optimizations.
- Down from 1024 bytes to 768 bytes
tooltron.h | ||
---|---|---|
30 | 30 |
#define TT_GET_KEY 'k' // Get a key from the keyboard |
31 | 31 |
#define TT_ACK 'a' // Ack |
32 | 32 |
#define TT_NACK 'n' // Nack |
33 |
#define TT_TON 'o' // Turn the tool on
|
|
33 |
#define TT_ON 'o' // Turn the tool on
|
|
34 | 34 |
#define TT_TO 'f' // State timeout |
35 | 35 |
#define TT_TIMEOUT 't' // Packet timeout |
36 | 36 |
#define TT_RESET 'r' // Tool reset request |
Also available in: Unified diff