Refactored CStyle in Header and Source File

This commit is contained in:
2025-04-26 17:33:06 +02:00
parent d1f91e547b
commit 09e2afe329
4 changed files with 72 additions and 11 deletions
@@ -1,4 +1,4 @@
{{- define "cpart" -}}
{{- define "cpartHeader" -}}
// AUTO GENERATED DO NOT EDIT!!!
#ifndef _PROTO_HEADER
@@ -11,10 +11,5 @@
{{ block "union" .PayloadStructs }} {{ end }}
{{ block "handler" .MessagesPCtoESP}} {{ end }}
{{ block "dispatcher" .MessagesPCtoESP}} {{ end }}
{{ block "send_functions" .MessagesESPtoPC}} {{ end }}
#endif
{{- end -}}
+9
View File
@@ -0,0 +1,9 @@
{{- define "cpartSource" -}}
// AUTO GENERATED DO NOT EDIT!!!
{{ block "handler" .MessagesPCtoESP}} {{ end }}
{{ block "dispatcher" .MessagesPCtoESP}} {{ end }}
{{ block "send_functions" .MessagesESPtoPC}} {{ end }}
{{- end -}}