Before, we were doing the O(1) configuration loading operation every 15 ms, which just made me feel dirty. Now we do it only the first time we check the available Type-C Current, and then cache its location. This works because it never moves without rebooting into setup mode.
|
|
||
116 |
|
116 |
|
117 |
|
117 |
|
118 |
|
118 |
|
119 |
|
|
|
120 |
|
|
|
|
119 |
|
|
|
120 |
|
|
|
121 |
|
|
|
122 |
|
|
|
123 |
|
|
|
124 |
|
|
|
125 |
|
|
|
126 |
|
|
|
127 |
|
|
121 |
|
128 |
|
122 |
|
129 |
|
123 |
|
130 |
|