Skip to content

Commit

Permalink
send-only proto as well
Browse files Browse the repository at this point in the history
  • Loading branch information
rusefillc committed Oct 17, 2024
1 parent d14ca16 commit cb253ed
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ public static void handle(DbcFile dbc, String reportDestinationFolder, String si

middle.println();
middle.println(counterVariable + " = 0");
middle.println("function send" + methodNameSuffix + "()");
middle.println("function " + rxMethodName + "(bus, id, dlc, data)");
middle.println("\t" + counterVariable + " = (" + counterVariable + " + 1) % 256");
middle.println("\t" + payloadVariableName + "[x] = " + counterVariable);
Expand Down

0 comments on commit cb253ed

Please sign in to comment.