Skip to content

Commit

Permalink
Add brackets { }
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielMartensson committed Jul 16, 2023
1 parent 5c9dea9 commit 9a49a95
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ void SAE_J1939_Read_Response_Request_Software_Identification(J1939 *j1939, uint8
j1939->from_other_ecu_identifications.software_identification.number_of_fields = data[0]; /* How many fields we have */
j1939->from_other_ecu_identifications.software_identification.from_ecu_address = SA;
uint8_t i;
for(i = 0; i < data[0]; i++)
for(i = 0; i < data[0]; i++){
j1939->from_other_ecu_identifications.software_identification.identifications[i] = data[i+1]; /* 1 for the number of fields */
}
}

0 comments on commit 9a49a95

Please sign in to comment.