SpotToSave: Add image number

This commit is contained in:
2025-11-29 15:53:36 +01:00
parent 020b5d6651
commit c9ffe8d60e
8 changed files with 22 additions and 14 deletions

View File

@@ -207,6 +207,7 @@ inline void CBOR_ENC(CborEncoder &encoder, const SpotToSave& spot) {
CBOR_ENC(mapEncoder, "maxc", spot.maxc);
CBOR_ENC(mapEncoder, "ice_ring", spot.ice_ring);
CBOR_ENC(mapEncoder, "indexed", spot.indexed);
CBOR_ENC(mapEncoder, "image", spot.image);
if (spot.indexed) {
CBOR_ENC(mapEncoder, "h", spot.h);
CBOR_ENC(mapEncoder, "k", spot.k);