Skip to content

Commit

Permalink
mqtt: stop using espconn->reverse
Browse files Browse the repository at this point in the history
Instead, just place the espconn structure itself at the top of the user
data.  This enlarges the structure somewhat but removes one more layer
of dynamic heap usage and NULL checks.

While here, simplify the code a bit.
  • Loading branch information
nwf committed Apr 5, 2020
1 parent bcc0a62 commit dbfdd21
Showing 1 changed file with 66 additions and 193 deletions.
Loading

0 comments on commit dbfdd21

Please sign in to comment.