Commit d2d6094
committed
call reset_all_pins() in main() after port_init()
Before adafruit#10699, `reset_all_pins()` was called in `reset_port()`. That changed to reset all pins in main
after the finalizers ran. However, this mean that pins were not all reset on power-up or hard reset.
This caused adafruit#1841, because the power control pin for Feather S3 TFT was not powering the display as
required before the display was reset.
Add a call to `reset_all_pins()` early in `main()` to serve the same purpose.1 parent a750c5f commit d2d6094
2 files changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1020 | 1020 | | |
1021 | 1021 | | |
1022 | 1022 | | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
1023 | 1026 | | |
1024 | 1027 | | |
| 1028 | + | |
1025 | 1029 | | |
1026 | 1030 | | |
1027 | 1031 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
| 342 | + | |
342 | 343 | | |
343 | 344 | | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | 345 | | |
348 | 346 | | |
349 | 347 | | |
| |||
0 commit comments