mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
* reset push_failures on successfully recv
This commit is contained in:
parent
77a7656b99
commit
659e66e3d1
1 changed files with 1 additions and 0 deletions
|
|
@ -354,6 +354,7 @@ protected:
|
|||
|
||||
uint32_t now = getRTCClock()->getCurrentTime();
|
||||
client->last_activity = now;
|
||||
client->push_failures = 0; // reset so push can resume (if prev failed)
|
||||
|
||||
// len can be > original length, but 'text' will be padded with zeroes
|
||||
data[len] = 0; // need to make a C string again, with null terminator
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue