Skip to content

Commit 52f571c

Browse files
committed
Sync with what we had in Zephyr ext/
We had a few changes in the zephyr tree that were not synced with the zephyr branch of the tinycbor tree. Signed-off-by: Anas Nashif <[email protected]>
1 parent 17548c5 commit 52f571c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/cbor.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
#include "cbor_buf_writer.h"
3838
#include "cbor_buf_reader.h"
3939
#include "tinycbor-version.h"
40+
#include "config.h"
4041

4142
#define TINYCBOR_VERSION ((TINYCBOR_VERSION_MAJOR << 16) | (TINYCBOR_VERSION_MINOR << 8) | TINYCBOR_VERSION_PATCH)
4243

src/cbortojson.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ static CborError stringify_map_key(char **key, CborValue *it, int flags, CborTyp
403403
{
404404
(void)flags; /* unused */
405405
(void)type; /* unused */
406-
#ifdef CBOR_WITHOUT_OPEN_MEMSTREAM
406+
#ifdef WITHOUT_OPEN_MEMSTREAM
407407
(void)key; /* unused */
408408
(void)it; /* unused */
409409
return CborErrorJsonNotImplemented;

0 commit comments

Comments
 (0)