Skip to content

Commit

Permalink
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]>
  • Loading branch information
oyvindronningstad authored and nordicjm committed Jan 30, 2024
1 parent cf882ef commit 205d7e5
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 @@ -934,7 +934,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 205d7e5

Please sign in to comment.