Skip to content

Commit

Permalink
Merge pull request #366 from RemcoHalman/patch-1
Browse files Browse the repository at this point in the history
Update for Enum type added Fluid type
  • Loading branch information
ttlappalainen authored Dec 8, 2023
2 parents e2cd51d + 84c8ac6 commit 89b451e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/N2kMessagesEnumToStr.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,17 @@ const char* tN2kGNSSmethodStrs[] = { "no GNSS", "GNSS fix", "DGNSS", "precise GN
*/
MakeN2kEnumTypeToStrFunc(tN2kGNSSmethod,tN2kGNSSmethodStrs);

/************************************************************************//**
* \brief string representation of the N2k enum tN2kFluidType
*/
const char* tN2kFluidTypeStrs[] = { "Fuel", "Water", "Gray water", "Live well", "Oil", "Black water", "Gasoline Fuel",
"Reserved", "Reserved", "Reserved", "Reserved", "Reserved", "Reserved", "Reserved",
"Error", "Unavailable",};
/************************************************************************//**
* \brief Converting the N2k enum \ref tN2kFluidType to a const char
*/
MakeN2kEnumTypeToStrFunc(tN2kFluidType,tN2kFluidTypeStrs);

/************************************************************************//**
* \brief string representation of the N2k enum tN2kTempSource
*/
Expand Down

0 comments on commit 89b451e

Please sign in to comment.