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
jumptable.h | ||
---|---|---|
16 | 16 |
void (*rs485_init)(uint16_t) = JT_RS485_INIT; |
17 | 17 |
int8_t (*rs485_get_byte)(uint8_t*) = JT_RS485_GET_BYTE; |
18 | 18 |
void (*rs485_send_byte)(uint8_t) = JT_RS485_SEND_BYTE; |
19 |
char (*parse_packet)(uint8_t*) = JT_PARSE_PACKET; |
|
20 |
void (*send_packet)(uint8_t) = JT_SEND_PACKET; |
|
19 |
char (*parse_packet)(uint8_t*, uint8_t) = JT_PARSE_PACKET;
|
|
20 |
void (*send_packet)(uint8_t, uint8_t) = JT_SEND_PACKET;
|
|
21 | 21 |
|
22 | 22 |
#endif |
Also available in: Unified diff