Skip to content

Commit

Permalink
Corrected parsing of DCBatStatus
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasonw committed Jun 25, 2016
1 parent ac2c890 commit 8f5b979
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions N2kMessages.h
Original file line number Diff line number Diff line change
Expand Up @@ -517,11 +517,11 @@ inline void SetN2kDCBatStatus(tN2kMsg &N2kMsg, unsigned char BatteryInstance, do
SetN2kPGN127508(N2kMsg,BatteryInstance,BatteryVoltage,BatteryCurrent,BatteryTemperature,SID);
}

bool ParseN2kPGN130312(const tN2kMsg &N2kMsg, unsigned char &BatteryInstance, double &BatteryVoltage, double &BatteryCurrent,
bool ParseN2kPGN127508(const tN2kMsg &N2kMsg, unsigned char &BatteryInstance, double &BatteryVoltage, double &BatteryCurrent,
double &BatteryTemperature, unsigned char &SID);
inline bool ParseN2kDCBatStatus(const tN2kMsg &N2kMsg, unsigned char &BatteryInstance, double &BatteryVoltage, double &BatteryCurrent,
double &BatteryTemperature, unsigned char &SID) {
return ParseN2kPGN130312(N2kMsg, BatteryInstance, BatteryVoltage, BatteryCurrent, BatteryTemperature, SID);
return ParseN2kPGN127508(N2kMsg, BatteryInstance, BatteryVoltage, BatteryCurrent, BatteryTemperature, SID);
}


Expand Down

0 comments on commit 8f5b979

Please sign in to comment.