When waiting for data from CP, the data timeout check must happen before no-data check. If not, a partial packet may endlessly hold PD in "wait-for-data" state, while the PD keeps reporting status as online till another packet is received. Fix this my moving no-data check below the timeout check. Signed-off-by: Siddharth Chandrasekaran <siddharth@embedjournal.com> |
||
|---|---|---|
| .. | ||
| ec_host_cmd | ||
| hawkbit | ||
| mcumgr | ||
| osdp | ||
| updatehub | ||
| CMakeLists.txt | ||
| Kconfig | ||