Eric Severance 8c6eec52f2 Refactor MQTT::onReceive to reduce if/else nesting (#5592)
* Refactor MQTT::onReceive to reduce if/else nesting

* Fix missing #include <functional>

* const DecodedServiceEnvelope e

* Combine validDecode if statement.

* Only call pb_release when validDecode.

* s/ptr/channelName/

* Use reference type for deleter

* Use lambda instead of bind

* Document deleter

* Reorder 'if's to avoid object creation

* Remove unnecessary comment

* Remove 'else'; simpifies #5516

---------

Co-authored-by: Ben Meadors <benmmeadors@gmail.com>
2024-12-19 05:47:46 -06:00
2024-12-18 07:15:48 -06:00
2024-12-14 10:59:15 +01:00
2024-12-17 06:52:26 -06:00
2024-12-18 15:46:18 +11:00
2021-10-09 17:15:12 +11:00
2024-09-24 15:24:08 -05:00
2023-01-21 21:23:24 +01:00
2024-09-01 11:29:34 -05:00
2024-11-28 06:26:51 -06:00
2024-09-04 15:33:28 -07:00
2023-01-21 21:23:24 +01:00
2024-12-14 10:59:15 +01:00
2023-10-09 22:30:02 +10:00
2024-09-25 16:18:45 -05:00

Meshtastic Firmware

GitHub release downloads CI CLA assistant Fiscal Contributors Vercel

Overview

This repository contains the device firmware for the Meshtastic project.

Stats

Alt

Languages
C++ 67.2%
C 30.9%
Python 1.1%
Shell 0.3%
Batchfile 0.3%
Other 0.1%