Skip to content

Commit

Permalink
Update _drafts/practical_zephyr_03_dt_semantics.md
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Johnson <[email protected]>
  • Loading branch information
lmapii and ejohnso49 authored Feb 8, 2024
1 parent bf63b86 commit aaf44f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _drafts/practical_zephyr_03_dt_semantics.md
Original file line number Diff line number Diff line change
Expand Up @@ -1462,7 +1462,7 @@ Having seen the macros provided by Zephyr's generator script, it is now pretty o
// Tokens in C macros are pasted using `##`.
#define TOKEN_CAT_3(a1, a2, a3) a1##a2##a3
#define NODE_PROP(node_id, property) TOKEN_CAT_3(node, _, string_value)
#define NODE_PROP(node_id, property) TOKEN_CAT_3(node, _, property)

// The following resolves to `node_string_value` and thus to "123-test"
static const char *str = NODE_PROP(node, string_value);
Expand Down

0 comments on commit aaf44f5

Please sign in to comment.