Skip to content

Commit

Permalink
Update MegaCAN.cpp
Browse files Browse the repository at this point in the history
fixed typo line 215
  • Loading branch information
mantonakakis1 authored Apr 26, 2021
1 parent de9e324 commit c9c6d3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MegaCAN.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ void MegaCAN::getBCastData(uint32_t id, const uint8_t data[8], MegaCAN_broadcast
msg.egt5 = ((data[0] << 8) | data[1]) / (float)10;
msg.egt6 = ((data[2] << 8) | data[3]) / (float)10;
msg.egt7 = ((data[4] << 8) | data[5]) / (float)10;
msg.egt8 = ((data[6] << 8) | data[7]) / (float)10;+
msg.egt8 = ((data[6] << 8) | data[7]) / (float)10;
#ifdef CELSIUS
msg.egt5 = (msg.egt5 - 32) * 9 / 5;
msg.egt6 = (msg.egt6 - 32) * 9 / 5;
Expand Down

0 comments on commit c9c6d3a

Please sign in to comment.