mirror of
https://github.com/meshtastic/firmware.git
synced 2026-01-21 17:27:30 +00:00
add a .clang-format file (#9154)
This commit is contained in:
@@ -4,17 +4,16 @@
|
||||
/**
|
||||
* A simple example module that just replies with "Message received" to any message it receives.
|
||||
*/
|
||||
class ReplyModule : public SinglePortModule
|
||||
{
|
||||
public:
|
||||
/** Constructor
|
||||
* name is for debugging output
|
||||
*/
|
||||
ReplyModule() : SinglePortModule("reply", meshtastic_PortNum_REPLY_APP) {}
|
||||
class ReplyModule : public SinglePortModule {
|
||||
public:
|
||||
/** Constructor
|
||||
* name is for debugging output
|
||||
*/
|
||||
ReplyModule() : SinglePortModule("reply", meshtastic_PortNum_REPLY_APP) {}
|
||||
|
||||
protected:
|
||||
/** For reply module we do all of our processing in the (normally optional)
|
||||
* want_replies handling
|
||||
*/
|
||||
virtual meshtastic_MeshPacket *allocReply() override;
|
||||
protected:
|
||||
/** For reply module we do all of our processing in the (normally optional)
|
||||
* want_replies handling
|
||||
*/
|
||||
virtual meshtastic_MeshPacket *allocReply() override;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user