The DPM used to always set the LED to indicate the PD status. This caused fighting when the PD threads were run simultaneously with the shell, making the LED show different things depending on what commands the user ran. Not cool! This commit adds a bool pdb_dpm_led_pd_status, which prevents the DPM from setting the LED when set to false. This commit also sets it to false before starting the PD threads in Setup mode, allowing the shell to be in full control of the LED. Right on!
|
|
||
28 |
|
28 |
|
29 |
|
29 |
|
30 |
|
30 |
|
|
31 |
|
|
|
32 |
|
|
|
33 |
|
|
31 |
|
34 |
|
32 |
|
35 |
|
33 |
|
36 |
|
|
|
||
48 |
|
51 |
|
49 |
|
52 |
|
50 |
|
53 |
|
51 |
|
|
|
|
54 |
|
|
|
55 |
|
|
|
56 |
|
|
52 |
|
57 |
|
53 |
|
58 |
|
54 |
|
59 |
|
|
|
||
189 |
|
194 |
|
190 |
|
195 |
|
191 |
|
196 |
|
192 |
|
|
|
|
197 |
|
|
|
198 |
|
|
|
199 |
|
|
193 |
|
200 |
|
194 |
|
201 |
|
195 |
|
202 |
|
|
|
||
211 |
|
218 |
|
212 |
|
219 |
|
213 |
|
220 |
|
214 |
|
|
|
|
221 |
|
|
|
222 |
|
|
|
223 |
|
|
215 |
|
224 |
|
216 |
|
225 |
|
217 |
|
226 |
|
218 |
|
|
|
|
227 |
|
|
|
228 |
|
|
|
229 |
|
|
219 |
|
230 |
|
220 |
|
231 |
|
221 |
|
232 |
|
|
|
||
24 |
|
24 |
|
25 |
|
25 |
|
26 |
|
26 |
|
|
27 |
|
|
|
28 |
|
|
|
29 |
|
|
|
30 |
|
|
27 |
|
31 |
|
28 |
|
32 |
|
29 |
|
33 |
|
|
|
||
42 |
|
42 |
|
43 |
|
43 |
|
44 |
|
44 |
|
|
45 |
|
|
45 |
|
46 |
|
46 |
|
47 |
|
47 |
|
48 |
|
|
|
||
89 |
|
90 |
|
90 |
|
91 |
|
91 |
|
92 |
|
|
93 |
|
|
|
94 |
|
|
|
95 |
|
|
92 |
|
96 |
|
93 |
|
97 |
|
94 |
|
98 |
|