Skip to content

Commit e8bc1a1

Browse files
committed
fix packet 5
1 parent d2ac94b commit e8bc1a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/connection/connection.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ void connection_write_packet_4() // full precision quat and magnetometer
287287
void connection_write_packet_5() // runtime
288288
{
289289
uint8_t data[16] = {0};
290-
data[0] = 4; // packet 4
290+
data[0] = 5; // packet 5
291291
data[1] = tracker_id;
292292
int64_t *buf = (uint16_t *)&data[2];
293293
buf[0] = k_ticks_to_us_floor64(sys_get_battery_remaining_time_estimate());

0 commit comments

Comments
 (0)