Merge branch '175-tool-use-sint-32-notation-in-matlab-output-driver' into 'stable-1.6'

Use sint(32) notation in matlab output driver

Closes #175

See merge request etherlab.org/ethercat!173
This commit is contained in:
Florian Pose 2025-06-27 10:22:50 +02:00
commit 529242d752
1 changed files with 3 additions and 3 deletions

View File

@ -295,9 +295,9 @@ void CommandPdos::etherlabConfig(
cout << var.str() << ".pdo = ["
<< i << ", " << j << ", " << k << ", 0];" << endl;
cout << var.str() << ".pdo_data_type = "
<< 1000 + (unsigned int) entry.bit_length
<< ";" << endl << endl;
cout << var.str() << ".pdo_data_type = uint("
<< (unsigned int) entry.bit_length
<< ");" << endl << endl;
}
}
}