There was a bug where a device could end up being programmed with 0 current if the device was disconnected and reconnected while editing its configuration. I thought of several solutions for this, but concluded that the right one would really be to go ahead with my original plan to kick the user out of the configuration screen when the device was unplugged. As usual, the implementation could be better, but it works.
|
|
||
9 |
|
9 |
|
10 |
|
10 |
|
11 |
|
11 |
|
12 |
|
|
|
|
12 |
|
|
13 |
|
13 |
|
14 |
|
14 |
|
15 |
|
15 |
|
|
|
||
25 |
|
25 |
|
26 |
|
26 |
|
27 |
|
27 |
|
28 |
|
|
|
29 |
|
|
|
30 |
|
|
|
31 |
|
|
|
|
28 |
|
|
|
29 |
|
|
|
30 |
|
|
|
31 |
|
|
|
32 |
|
|
32 |
|
33 |
|
33 |
|
|
|
|
34 |
|
|
34 |
|
35 |
|
35 |
|
36 |
|
36 |
|
37 |
|
|
|
||
107 |
|
108 |
|
108 |
|
109 |
|
109 |
|
110 |
|
110 |
|
|
|
111 |
|
|
|
|
111 |
|
|
|
112 |
|
|
112 |
|
113 |
|
113 |
|
|
|
|
114 |
|
|
114 |
|
115 |
|
115 |
|
116 |
|
116 |
|
117 |
|
|
|
||
149 |
|
150 |
|
150 |
|
151 |
|
151 |
|
152 |
|
152 |
|
|
|
|
153 |
|
|
153 |
|
154 |
|
154 |
|
155 |
|
155 |
|
156 |
|
|
|
||
161 |
|
162 |
|
162 |
|
163 |
|
163 |
|
164 |
|
|
165 |
|
|
164 |
|
166 |
|
165 |
|
167 |
|
166 |
|
168 |
|
167 |
|
169 |
|
168 |
|
|
|
169 |
|
|
|
|
170 |
|
|
|
171 |
|
|
170 |
|
172 |
|
171 |
|
173 |
|
172 |
|
174 |
|
173 |
|
|
|
|
175 |
|
|
174 |
|
176 |
|
175 |
|
|
|
|
177 |
|
|
176 |
|
178 |
|
177 |
|
179 |
|
178 |
|
180 |
|
|
|
||
186 |
|
188 |
|
187 |
|
189 |
|
188 |
|
190 |
|
189 |
|
|
|
190 |
|
|
|
|
191 |
|
|
|
192 |
|
|
191 |
|
193 |
|
192 |
|
194 |
|
193 |
|
195 |
|
|
|
||
220 |
|
222 |
|
221 |
|
223 |
|
222 |
|
224 |
|
|
225 |
|
|
|
226 |
|
|
|
227 |
|
|
|
228 |
|
|
|
229 |
|
|
|
230 |
|
|
|
231 |
|
|
|
232 |
|
|
|
233 |
|
|
|
234 |
|
|
|
235 |
|
|
|
236 |
|
|
|
237 |
|
|
|
238 |
|
|
|
239 |
|
|
|
240 |
|
|
|
241 |
|
|
223 |
|
242 |
|
224 |
|
243 |
|
225 |
|
244 |
|
|
|
||
235 |
|
254 |
|
236 |
|
255 |
|
237 |
|
256 |
|
238 |
|
|
|
|
257 |
|
|
239 |
|
258 |
|
240 |
|
259 |
|
241 |
|
260 |
|
|
|
||
266 |
|
285 |
|
267 |
|
286 |
|
268 |
|
287 |
|
269 |
|
|
|
270 |
|
|
|
|
288 |
|
|
|
289 |
|
|
|
290 |
|
|
271 |
|
291 |
|
272 |
|
292 |
|
273 |
|
293 |
|
|
|
||
276 |
|
296 |
|
277 |
|
297 |
|
278 |
|
298 |
|
279 |
|
|
|
280 |
|
|
|
|
299 |
|
|
|
300 |
|
|
|
301 |
|
|
281 |
|
302 |
|
282 |
|
303 |
|
283 |
|
304 |
|