Skip to content

Commit b80face

Browse files
committed
deltacast_common: print bidir ch support
1 parent 858453d commit b80face

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/deltacast_common.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,15 @@ print_available_delta_boards(bool full)
277277
<< delta_format_version(DriverVersion, false) << ")\n";
278278
if (full) {
279279
print_avail_channels(BoardHandle);
280+
281+
ULONG IsBiDir = 2;
282+
VHD_GetBoardProperty(BoardHandle, VHD_CORE_BP_IS_BIDIR,
283+
&IsBiDir);
284+
printf("\t\tbidirectional (switchable) channels: "
285+
"%s\n",
286+
IsBiDir == 2 ? "ERROR"
287+
: IsBiDir == TRUE ? "supported"
288+
: "not supported");
280289
}
281290
if ((DllVersion >> 16U) != (DriverVersion >> 16U)) {
282291
LOG(LOG_LEVEL_WARNING)

0 commit comments

Comments
 (0)