Commit 2f52c34
committed
drv/ioport_lpf2: add move hub shutdown quirk
This adds a configuration option to handle a quirk of the BOOST Move
hub. For some reason, this hub turns back on when the power button is
released after shutdown if the port VCC is turned off.
Also added PROCESS_EXIT() to the exit handler just to be safe while we
are touching this (otherwise device connection manager might run one
more iteration).
Fixes: pybricks/support#386
Fixes: 1473c4b1 parent b7cc563 commit 2f52c34
File tree
3 files changed
+12
-1
lines changed- lib/pbio
- drv/ioport
- platform/move_hub
3 files changed
+12
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
| 99 | + | |
98 | 100 | | |
99 | 101 | | |
100 | 102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
412 | 417 | | |
413 | 418 | | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
414 | 422 | | |
415 | 423 | | |
416 | 424 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
0 commit comments