Skip to content

Commit 55a0f64

Browse files
oyvindronningstadjfischer-no
authored andcommitted
[nrf fromtree] boot_serial: Adapt to zcbor 0.8.x
Change one _term to _lit that was missed earlier. Signed-off-by: Øyvind Rønningstad <[email protected]> (cherry picked from commit 205d7e5)
1 parent ff23755 commit 55a0f64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boot/boot_serial/src/boot_serial.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -932,7 +932,7 @@ bs_echo(char *buf, int len)
932932
}
933933

934934
zcbor_map_start_encode(cbor_state, 10);
935-
zcbor_tstr_put_term(cbor_state, "r");
935+
zcbor_tstr_put_lit(cbor_state, "r");
936936
if (zcbor_tstr_encode(cbor_state, &value) && zcbor_map_end_encode(cbor_state, 10)) {
937937
boot_serial_output();
938938
return;

0 commit comments

Comments
 (0)