From c6257796823bbf701cd0ee924437708b429064c0 Mon Sep 17 00:00:00 2001 From: Ben Batt Date: Thu, 30 Jul 2026 21:53:10 +1000 Subject: [PATCH] Wrap long lines --- examples/simple_room_server/MyMesh.cpp | 3 ++- examples/simple_room_server/MyMesh.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/simple_room_server/MyMesh.cpp b/examples/simple_room_server/MyMesh.cpp index 3557ada72..934ff3d5a 100644 --- a/examples/simple_room_server/MyMesh.cpp +++ b/examples/simple_room_server/MyMesh.cpp @@ -75,7 +75,8 @@ void MyMesh::pushTopicToClient(ClientInfo *client) { pushPostInternal(client, topic_timestamp, self_id, topic); } -void MyMesh::pushPostInternal(ClientInfo* client, uint32_t timestamp, const mesh::Identity& author, const char* text) { +void MyMesh::pushPostInternal(ClientInfo* client, uint32_t timestamp, const mesh::Identity& author, + const char* text) { int len = 0; memcpy(&reply_data[len], ×tamp, 4); len += 4; // this is a PAST timestamp... but should be accepted by client diff --git a/examples/simple_room_server/MyMesh.h b/examples/simple_room_server/MyMesh.h index aee1b9961..f370324fa 100644 --- a/examples/simple_room_server/MyMesh.h +++ b/examples/simple_room_server/MyMesh.h @@ -126,7 +126,8 @@ class MyMesh : public mesh::Mesh, public CommonCLICallbacks { void storePost(const mesh::Identity& author, const char* postData); void pushPostToClient(ClientInfo* client, PostInfo& post); void pushTopicToClient(ClientInfo* client); - void pushPostInternal(ClientInfo* client, uint32_t timestamp, const mesh::Identity& author, const char* text); + void pushPostInternal(ClientInfo* client, uint32_t timestamp, const mesh::Identity& author, + const char* text); uint8_t getUnsyncedCount(ClientInfo* client); bool processAck(const uint8_t *data); mesh::Packet* createSelfAdvert();