From 2e0cb380a96f71bc6d7f7aaad8d8ba7b15356434 Mon Sep 17 00:00:00 2001 From: Christian Hammacher Date: Mon, 18 Nov 2024 17:49:41 +0100 Subject: [PATCH] Add support for CAN data type in SBC mode (fixes #1059) --- src/SBC/DataTransfer.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/SBC/DataTransfer.cpp b/src/SBC/DataTransfer.cpp index 3fa1d511ff..6ca7a88627 100644 --- a/src/SBC/DataTransfer.cpp +++ b/src/SBC/DataTransfer.cpp @@ -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();