Skip to content

Commit

Permalink
Fix SamplesPacket header size
Browse files Browse the repository at this point in the history
  • Loading branch information
rjonaitis committed Mar 18, 2024
1 parent 2b6f326 commit 10037d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/protocols/SamplesPacket.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ template<uint8_t chCount> class SamplesPacket
{
public:
/** The size of the structure that holds the sample packet information. */
static constexpr int headerSize = 3 * sizeof(uint8_t*) * chCount + 17;
static constexpr int headerSize = sizeof(SamplesPacket<chCount>);

/**
@brief Constructs the sample packet class.
Expand Down

0 comments on commit 10037d1

Please sign in to comment.