From 50998fcfb916ae251309bd4b464f2c122e8cb30d Mon Sep 17 00:00:00 2001 From: jaseg Date: Fri, 9 Apr 2021 18:38:02 +0200 Subject: Repo re-org --- gm_platform/fw/cobs.h | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 gm_platform/fw/cobs.h (limited to 'gm_platform/fw/cobs.h') diff --git a/gm_platform/fw/cobs.h b/gm_platform/fw/cobs.h deleted file mode 100644 index 8c84ca4..0000000 --- a/gm_platform/fw/cobs.h +++ /dev/null @@ -1,23 +0,0 @@ -#ifndef __COBS_H__ -#define __COBS_H__ - -#include -#include -#include - - -struct cobs_decode_state { - size_t p; - size_t c; -}; - - -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(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); - -#endif//__COBS_H__ -- cgit