deltacast_common: print bidir ch support

This commit is contained in:
Martin Pulec
2025-04-30 08:56:51 +02:00
parent 858453d765
commit b80facecd2

View File

@@ -277,6 +277,15 @@ print_available_delta_boards(bool full)
<< delta_format_version(DriverVersion, false) << ")\n";
if (full) {
print_avail_channels(BoardHandle);
ULONG IsBiDir = 2;
VHD_GetBoardProperty(BoardHandle, VHD_CORE_BP_IS_BIDIR,
&IsBiDir);
printf("\t\tbidirectional (switchable) channels: "
"%s\n",
IsBiDir == 2 ? "ERROR"
: IsBiDir == TRUE ? "supported"
: "not supported");
}
if ((DllVersion >> 16U) != (DriverVersion >> 16U)) {
LOG(LOG_LEVEL_WARNING)