Skip to content

Commit e09162e

Browse files
mariuckerotavio
authored andcommitted
Replaces LOG_WRN with LOG_DBG
Reduces the number of LOGs displayed and makes the tests easier to understand. Signed-off-by: Mariana Ücker <[email protected]>
1 parent 6f3a68f commit e09162e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/generate-zephyrbt-from-behaviourtreecpp-xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,14 +137,14 @@ def write_zephyrbt_custom_function(f, nodes):
137137
f.write(f"\nenum zephyrbt_child_status __attribute__((weak))")
138138
f.write(f"\n{fname}struct zephyrbt_context *ctx,\n")
139139
f.write(f"{gen_align(fname)}struct zephyrbt_node *self)\n{{\n")
140-
f.write(f"\tLOG_WRN(\"{fname[:-1]} stub function\");\n");
140+
f.write(f"\tLOG_DBG(\"{fname[:-1]} stub function\");\n");
141141
f.write(f"\treturn ZEPHYRBT_CHILD_SUCCESS_STATUS;\n");
142142
f.write(f"}}\n");
143143
fname = f"{fname[0:-1]}_init("
144144
f.write(f"\nenum zephyrbt_child_status __attribute__((weak))")
145145
f.write(f"\n{fname}struct zephyrbt_context *ctx,\n")
146146
f.write(f"{gen_align(fname)}struct zephyrbt_node *self)\n{{\n")
147-
f.write(f"\tLOG_WRN(\"{fname[:-1]} stub function\");\n");
147+
f.write(f"\tLOG_DBG(\"{fname[:-1]} stub function\");\n");
148148
f.write(f"\treturn ZEPHYRBT_CHILD_SUCCESS_STATUS;\n");
149149
f.write(f"}}\n");
150150

0 commit comments

Comments
 (0)