Skip to content

Commit

Permalink
Merge pull request #768 from smunaut/usb
Browse files Browse the repository at this point in the history
USB2PMADecoder: Adjust high speed threshold level
  • Loading branch information
azonenberg committed Mar 26, 2023
2 parents 9d0b390 + 44549cc commit 04655b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scopeprotocols/USB2PMADecoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ void USB2PMADecoder::Refresh()
auto speed = static_cast<Speed>(m_parameters[m_speedname].GetIntVal());

//Set appropriate thresholds for different speeds
auto threshold = (speed == SPEED_HIGH) ? 0.2 : 0.4;
auto threshold = (speed == SPEED_HIGH) ? 0.15 : 0.4;
int64_t transition_time;
switch(speed)
{
Expand Down

0 comments on commit 04655b3

Please sign in to comment.