diff --git a/src/ttbin.c b/src/ttbin.c index 2ea082a..0979014 100644 --- a/src/ttbin.c +++ b/src/ttbin.c @@ -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;