Skip to content

Commit

Permalink
Add support for CAN data type in SBC mode (fixes #1059)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrishamm authored and dc42 committed Nov 20, 2024
1 parent 72d8511 commit 2e0cb38
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/SBC/DataTransfer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1242,6 +1242,9 @@ bool DataTransfer::WriteEvaluationResult(const char *expression, const Expressio
case TypeCode::DateTime_tc:
case TypeCode::Port:
case TypeCode::UniqueId_tc:
#if SUPPORT_CAN_EXPANSION
case TypeCode::CanExpansionBoardDetails:
#endif
// All these types are represented as strings
value.AppendAsString(rslt.GetRef());
payloadLength = expressionLength + rslt.strlen();
Expand Down

0 comments on commit 2e0cb38

Please sign in to comment.