diff options
Diffstat (limited to 'gm_platform/fw/cobs.h')
-rw-r--r-- | gm_platform/fw/cobs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gm_platform/fw/cobs.h b/gm_platform/fw/cobs.h index 40f7955..8c84ca4 100644 --- a/gm_platform/fw/cobs.h +++ b/gm_platform/fw/cobs.h @@ -15,7 +15,7 @@ struct cobs_decode_state { ssize_t cobs_encode(char *dst, size_t dstlen, char *src, size_t srclen); ssize_t cobs_decode(char *dst, size_t dstlen, char *src, size_t srclen); -int cobs_encode_usart(char *src, size_t srclen); +int cobs_encode_usart(int (*output)(char), char *src, size_t srclen); void cobs_decode_incremental_initialize(struct cobs_decode_state *state); int cobs_decode_incremental(struct cobs_decode_state *state, char *dst, size_t dstlen, char src); |