Skip to content

Commit

Permalink
Add OTAG format file save/playback and simplify threading arrangements
Browse files Browse the repository at this point in the history
  • Loading branch information
mubes committed May 31, 2024
1 parent f82a194 commit d0de6ee
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 120 deletions.
7 changes: 4 additions & 3 deletions Inc/cobs.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@
extern "C" {
#endif

#define COBS_FRONTMATTER (10)
#define COBS_MAX_PACKET_LEN (4096)
#define COBS_FRONTMATTER (10)
#define COBS_MAX_PACKET_LEN (4096)
#define COBS_SYNC_CHAR (0)
#define COBS_OVERALL_MAX_PACKET_LEN (COBS_MAX_PACKET_LEN+COBS_FRONTMATTER)
#define COBS_MAX_ENC_PACKET_LEN (COBS_OVERALL_MAX_PACKET_LEN + COBS_OVERALL_MAX_PACKET_LEN / 254)
#define COBS_MAX_ENC_PACKET_LEN (COBS_OVERALL_MAX_PACKET_LEN + COBS_OVERALL_MAX_PACKET_LEN / 254)

enum COBSPumpState
{
Expand Down
2 changes: 0 additions & 2 deletions Src/cobs.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
#include <assert.h>
#include "cobs.h"

#define COBS_SYNC_CHAR (0)

const uint8_t cobs_eop[COBS_EOP_LEN] = { COBS_SYNC_CHAR };

// ====================================================================================================
Expand Down
Loading

0 comments on commit d0de6ee

Please sign in to comment.