Commit 827607c
Mykhailo Androsiuk
Defer pyftdi import: only import when --cpld option is used
Previously, the pyftdi module was imported unconditionally, causing
errors even when CPLD functionality was not required.
Now the import is performed only if the `--cpld` option is used,
avoiding unnecessary failures and improving script flexibility.
Signed-off-by: Mykhailo Androsiuk <mykhailo_androsiuk@epam.com>1 parent c60ae14 commit 827607c
1 file changed
+8
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
200 | 208 | | |
201 | 209 | | |
202 | 210 | | |
| |||
381 | 389 | | |
382 | 390 | | |
383 | 391 | | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | | - | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | 392 | | |
398 | 393 | | |
399 | 394 | | |
| |||
0 commit comments