v1.0.0-rc.68

This commit is contained in:
2025-08-16 19:59:27 +02:00
parent 764ca111e2
commit 20973792e4
191 changed files with 1258 additions and 482 deletions

View File

@@ -200,11 +200,12 @@ inline void CBOR_ENC_ADU_HIST(CborEncoder &encoder, const char* key,
inline void CBOR_ENC(CborEncoder &encoder, const SpotToSave& spot) {
CborEncoder mapEncoder;
cborErr(cbor_encoder_create_map(&encoder, &mapEncoder, 6));
cborErr(cbor_encoder_create_map(&encoder, &mapEncoder, 7));
CBOR_ENC(mapEncoder, "x", spot.x);
CBOR_ENC(mapEncoder, "y", spot.y);
CBOR_ENC(mapEncoder, "I", spot.intensity);
CBOR_ENC(mapEncoder, "maxc", spot.maxc);
CBOR_ENC(mapEncoder, "ice_ring", spot.ice_ring);
CBOR_ENC(mapEncoder, "indexed", spot.indexed);
CBOR_ENC(mapEncoder, "angle", spot.angle_from_ewald_sphere);
cborErr(cbor_encoder_close_container(&encoder, &mapEncoder));