Skip to content

Commit

Permalink
Merge pull request #120 from whoenig/bugLogSize
Browse files Browse the repository at this point in the history
correct maximum payload for logging size
  • Loading branch information
ataffanel authored Jun 15, 2016
2 parents e8683d0 + a81d716 commit 6051b3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/src/log.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ static const uint8_t typeLength[] = {
[LOG_FP16] = 2,
};

// Maximum log payload length
#define LOG_MAX_LEN 30
// Maximum log payload length (4 bytes are used for block id and timestamp)
#define LOG_MAX_LEN 26

/* Log packet parameters storage */
#define LOG_MAX_OPS 64
Expand Down

0 comments on commit 6051b3a

Please sign in to comment.