Use the correct memory layout and packet size.
Use the correct memory layout and packet size.

Poltsi/libdivecomputer-vms,henrik242/libdivecomputer,henrik242/libdivecomputer,glance-/libdivecomputer,glance-/libdivecomputer