solarcaratuva / Rivanna2

Embedded system code for Rivanna 2
5 stars 1 forks source link

Added to can struct header files #138

Closed sidlakkoju closed 2 years ago

sidlakkoju commented 2 years ago

For example, added the following to each can struct header file. The one shown is for the solar board. "" void serialize(CANMessage *message) { EncodeBitprotoSolarCurrent(this, message->data); message->len = BYTES_LENGTH_BITPROTO_SOLAR_CURRENT; } ""

sidlakkoju commented 2 years ago

Fixed issue where updates weren't don't to all canstructs