mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-19 08:48:51 +01:00
pattern load and save works
This commit is contained in:
@@ -174,8 +174,8 @@ void Pattern::save(const std::string &fname) {
|
||||
std::ostringstream os;
|
||||
// pattern word
|
||||
for (uint32_t i = pat->limits[0]; i <= pat->limits[1]; ++i) {
|
||||
output_file << "patword [" << ToStringHex(i, 4) << ", "
|
||||
<< ToStringHex(pat->word[i], 16) << "]" << std::endl;
|
||||
output_file << "patword " << ToStringHex(i, 4) << " "
|
||||
<< ToStringHex(pat->word[i], 16) << std::endl;
|
||||
}
|
||||
|
||||
// patioctrl
|
||||
|
||||
Reference in New Issue
Block a user