We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4039b90 commit ab6a682Copy full SHA for ab6a682
Source/Devices/PortController.cpp
@@ -74,12 +74,11 @@ void PortController::processFrames()
74
uint32_t code = (uint32_t) *(dataPtr + dataOffset);
75
uint32_t data = (uint32_t) *(dataPtr + dataOffset + 1);
76
77
- if (code & (uint32_t)PortStatusCode::SerdesLock)
78
- errorFlag = ((uint32_t)data & LINKSTATE_SL) == 0;
+ errorFlag = errorFlag || ((uint32_t)data & LINKSTATE_SL) == 0;
79
80
oni_destroy_frame(frame);
81
82
- LOGE("Port status changed for " + getName() + ". Port status code is " + String((uint32_t)code));
+ LOGE("Port status changed for " + getName() + ".");
83
}
84
85
0 commit comments