Skip to content

Commit

Permalink
[nrf fromtree] boot_serial: Adapt to zcbor 0.8.x
Browse files Browse the repository at this point in the history
Change one _term to _lit that was missed earlier.

Signed-off-by: Øyvind Rønningstad <[email protected]>
(cherry picked from commit 205d7e5)
  • Loading branch information
oyvindronningstad committed Feb 16, 2024
1 parent 9cbf90d commit 6e54271
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boot/boot_serial/src/boot_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,7 @@ bs_echo(char *buf, int len)
}

zcbor_map_start_encode(cbor_state, 10);
zcbor_tstr_put_term(cbor_state, "r");
zcbor_tstr_put_lit(cbor_state, "r");
if (zcbor_tstr_encode(cbor_state, &value) && zcbor_map_end_encode(cbor_state, 10)) {
boot_serial_output();
return;
Expand Down

0 comments on commit 6e54271

Please sign in to comment.