Skip to content

Commit

Permalink
Merge pull request #611 from Mellanox/master_devel
Browse files Browse the repository at this point in the history
Master devel
  • Loading branch information
tomer540 authored Jun 27, 2022
2 parents 6481f21 + 162286c commit ba82604
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mlxlink/modules/mlxlink_commander.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3857,7 +3857,8 @@ void MlxlinkCommander::checkPRBSModeCap(u_int32_t modeSelector, u_int32_t capMas
modeToCheck += "A";
}

switch (modeToCheck[-1])
char squareWaveId = modeToCheck.back();
switch (squareWaveId)
{
case '8':
findAndReplace(modeToCheck, "8", "A");
Expand Down

0 comments on commit ba82604

Please sign in to comment.