Skip to content

Commit 49cac36

Browse files
c gen for can messages
1 parent 0fb780e commit 49cac36

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

cangen/code-gen/templates/encoders.c.j2

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010

1111
{% import "templates/macros.j2" as macros -%}
1212

13-
{{ macros.imports() }}
13+
{{ macros.imports() -}}
14+
#include "can_handler.h"
15+
1416
{% for msg in can_msgs -%}
1517
void send_{{ macros.function_name(msg) }}
1618
(

0 commit comments

Comments
 (0)