Skip to content

Commit

Permalink
Correct FILE_INTERVAL_FINISH_RECORD typedef
Browse files Browse the repository at this point in the history
  • Loading branch information
typhoon2099 committed Apr 26, 2020
1 parent bfdf137 commit 8966c87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ttbin.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ typedef struct __attribute__((packed))

typedef struct __attribute__((packed))
{
uint8_t type; /* 1 = warmup, 2 = work, 3 = rest, 4 = cooldown */
int16_t type; /* 1 = warmup, 2 = work, 3 = rest, 4 = cooldown */
uint32_t total_time; /* seconds */
float total_distance; /* metres */
uint16_t total_calories;
Expand Down

0 comments on commit 8966c87

Please sign in to comment.