Commit 84ba40a
committed
Fix infinite loop in P_CloseDevice and correct typos during pressure control.
- Fixed a potential infinite loop in `P_CloseDevice` (MIES_PressureControl.ipf) where the loop condition could remain true indefinitely if no matching headstage was found. Replaced the unsafe `do-while` loop with a bounded `for` loop.
- Corrected spelling of `OngoingPessurePulse` to `OngoingPressurePulse` in [MIES_PressureControl.ipf](cci:7://file:///Users/timjarsky/MIES/Packages/MIES/MIES_PressureControl.ipf:0:0-0:0) and [MIES_WaveDataFolderGetters.ipf](cci:7://file:///Users/timjarsky/MIES/Packages/MIES/MIES_WaveDataFolderGetters.ipf:0:0-0:0) to ensure consistency in dimension labels.1 parent a14309c commit 84ba40a
File tree
2 files changed
+13
-11
lines changed- Packages/MIES
2 files changed
+13
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
473 | 473 | | |
474 | 474 | | |
475 | 475 | | |
| 476 | + | |
476 | 477 | | |
477 | 478 | | |
478 | | - | |
| 479 | + | |
479 | 480 | | |
480 | 481 | | |
481 | 482 | | |
482 | 483 | | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | | - | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
488 | 490 | | |
489 | 491 | | |
490 | 492 | | |
| |||
1050 | 1052 | | |
1051 | 1053 | | |
1052 | 1054 | | |
1053 | | - | |
1054 | | - | |
| 1055 | + | |
| 1056 | + | |
1055 | 1057 | | |
1056 | 1058 | | |
1057 | 1059 | | |
| |||
1128 | 1130 | | |
1129 | 1131 | | |
1130 | 1132 | | |
1131 | | - | |
| 1133 | + | |
1132 | 1134 | | |
1133 | 1135 | | |
1134 | 1136 | | |
| |||
1162 | 1164 | | |
1163 | 1165 | | |
1164 | 1166 | | |
1165 | | - | |
| 1167 | + | |
1166 | 1168 | | |
1167 | 1169 | | |
1168 | 1170 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5021 | 5021 | | |
5022 | 5022 | | |
5023 | 5023 | | |
5024 | | - | |
| 5024 | + | |
5025 | 5025 | | |
5026 | 5026 | | |
5027 | 5027 | | |
| |||
0 commit comments