From 205d7e5b4194fd8c6e3219771e439048973e4984 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20R=C3=B8nningstad?= Date: Mon, 29 Jan 2024 11:37:45 +0100 Subject: [PATCH] boot_serial: Adapt to zcbor 0.8.x MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change one _term to _lit that was missed earlier. Signed-off-by: Øyvind Rønningstad --- boot/boot_serial/src/boot_serial.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/boot_serial/src/boot_serial.c b/boot/boot_serial/src/boot_serial.c index fe79d3dac..b631e150f 100644 --- a/boot/boot_serial/src/boot_serial.c +++ b/boot/boot_serial/src/boot_serial.c @@ -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;