Commit 17f20e2
new_pins: fix for inconsistent pin value on wake after sleep (#1922)
On startup PINS that conditionally processed based on g_lastValidState
would be ignore if they were currently 0 regardless of the state before
the module woke up.
This change intializes them with the proper restored channel values.
Co-authored-by: Anthony Sepa <protectivedad@gmail.com>1 parent ec56008 commit 17f20e2
1 file changed
+17
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1347 | 1347 | | |
1348 | 1348 | | |
1349 | 1349 | | |
1350 | | - | |
| 1350 | + | |
1351 | 1351 | | |
1352 | | - | |
1353 | | - | |
1354 | 1352 | | |
1355 | 1353 | | |
1356 | 1354 | | |
| |||
1361 | 1359 | | |
1362 | 1360 | | |
1363 | 1361 | | |
| 1362 | + | |
| 1363 | + | |
| 1364 | + | |
| 1365 | + | |
| 1366 | + | |
| 1367 | + | |
| 1368 | + | |
| 1369 | + | |
| 1370 | + | |
| 1371 | + | |
| 1372 | + | |
| 1373 | + | |
| 1374 | + | |
| 1375 | + | |
| 1376 | + | |
| 1377 | + | |
1364 | 1378 | | |
1365 | 1379 | | |
1366 | 1380 | | |
| |||
0 commit comments