Skip to content

Commit

Permalink
Pin planner: fixed package pins loading (#1236)
Browse files Browse the repository at this point in the history
  • Loading branch information
KochynVolodymyr authored Aug 22, 2023
1 parent f1e5a05 commit d9aadc2
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/PinAssignment/PackagePinsLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ void PackagePinsLoader::parseHeader(const QString &header) {
QStringList modesRx{};
QStringList modesTx{};
for (const auto &col : columns) {
if (col.startsWith("Mode_")) {
if (col.startsWith("Mode_", Qt::CaseInsensitive)) {
m_model->insertMode(columns.indexOf(col) - 1, col);
if (col.endsWith("tx", Qt::CaseInsensitive))
modesTx.append(col);
Expand Down
26 changes: 13 additions & 13 deletions src/PinAssignment/PackagePinsModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,19 @@ enum PinData {
BallId = 2,
InternalPinName = 12,
ModeFirst = 13,
ModeLast = 42,
RefClock = 43,
Bank = 44,
ALT = 45,
DebugMode = 46,
ScanMode = 47,
MbistMode = 48,
Type = 49,
Dir = 50,
Voltage = 51,
PowerPad = 52,
Discription = 53,
Voltage2 = 54,
ModeLast = 46,
RefClock = 57,
Bank = 58,
ALT = 59,
DebugMode = 60,
ScanMode = 61,
MbistMode = 62,
Type = 63,
Dir = 64,
Voltage = 65,
PowerPad = 66,
Discription = 67,
Voltage2 = 68,
};

struct PackagePinData {
Expand Down

0 comments on commit d9aadc2

Please sign in to comment.