send-only proto as well

This commit is contained in:
rusefillc 2024-10-16 22:45:03 -04:00
parent d14ca16039
commit cb253eda61
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@ public class PerSidDump {
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);