From 128f658bf2f8ca043a12123cea952b88faa11519 Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Fri, 16 Feb 2024 04:58:25 -0800 Subject: [PATCH] ran clang-format --- RF24Gateway.h | 4 +- examples/ncurses/RF24Gateway_ncurses.cpp | 40 +++++++++---------- .../ncursesInt/RF24Gateway_ncursesInt.cpp | 34 ++++++++-------- 3 files changed, 39 insertions(+), 39 deletions(-) diff --git a/RF24Gateway.h b/RF24Gateway.h index 0a0ca7e..b28f681 100644 --- a/RF24Gateway.h +++ b/RF24Gateway.h @@ -273,12 +273,12 @@ class ESBGateway /** * A type definition of the template class `ESBGateway` to maintain backward compatibility. - * + * * ```.cpp * RF24 radio(7, 8); * RF24Network network(radio); * RF24Mesh mesh(radio, network); - * + * * RF24Gateway gateway(radio, network, mesh); * // is equivalent to * ESBGateway, RF24>, ESBNetwork, RF24> gateway(radio, network, mesh); diff --git a/examples/ncurses/RF24Gateway_ncurses.cpp b/examples/ncurses/RF24Gateway_ncurses.cpp index ecbde8f..7e0f360 100644 --- a/examples/ncurses/RF24Gateway_ncurses.cpp +++ b/examples/ncurses/RF24Gateway_ncurses.cpp @@ -1,21 +1,21 @@ /** -* RF24Gateway NCurses interface - TMRh20 2015 -* This is a generic tool for nodes supporting or combining with RF24Ethernet and/or RF24Network. -* -* The tool provides a simple interface for monitoring information and activity regarding the RF24Gateway:
-* a: Interface statistics from /proc/net/dev
-* b: RF24Mesh address/id assignments
-* c: RF24Network/Radio information
-* d: Active IP connections (optional)
-* -* **Requirements: NCurses** -* Install NCurses: apt-get install libncurses5-dev -* -* **Controls** -* Type 'h' to view the help menu -* -* -*/ + * RF24Gateway NCurses interface - TMRh20 2015 + * This is a generic tool for nodes supporting or combining with RF24Ethernet and/or RF24Network. + * + * The tool provides a simple interface for monitoring information and activity regarding the RF24Gateway:
+ * a: Interface statistics from /proc/net/dev
+ * b: RF24Mesh address/id assignments
+ * c: RF24Network/Radio information
+ * d: Active IP connections (optional)
+ * + * **Requirements: NCurses** + * Install NCurses: apt-get install libncurses5-dev + * + * **Controls** + * Type 'h' to view the help menu + * + * + */ #include #include @@ -141,9 +141,9 @@ int main() { /** - * The gateway handles all IP traffic (marked as EXTERNAL_DATA_TYPE) and passes it to the associated network interface - * RF24Network user payloads are loaded into the user cache - */ + * The gateway handles all IP traffic (marked as EXTERNAL_DATA_TYPE) and passes it to the associated network interface + * RF24Network user payloads are loaded into the user cache + */ if (millis() - mesh_timer > 30000 && mesh.getNodeID()) { //Every 30 seconds, test mesh connectivity diff --git a/examples/ncursesInt/RF24Gateway_ncursesInt.cpp b/examples/ncursesInt/RF24Gateway_ncursesInt.cpp index bf9c213..166b18b 100644 --- a/examples/ncursesInt/RF24Gateway_ncursesInt.cpp +++ b/examples/ncursesInt/RF24Gateway_ncursesInt.cpp @@ -1,21 +1,21 @@ /** -* RF24Gateway NCurses interface - TMRh20 2015-2022 -* This is a generic tool for nodes supporting or combining with RF24Ethernet and/or RF24Network. -* -* The tool provides a simple interface for monitoring information and activity regarding the RF24Gateway:
-* a: Interface statistics from /proc/net/dev
-* b: RF24Mesh address/id assignments
-* c: RF24Network/Radio information
-* d: Active IP connections (optional)
-* -* **Requirements: NCurses** -* Install NCurses: apt-get install libncurses5-dev -* -* **Controls** -* Type 'h' to view the help menu -* -* -*/ + * RF24Gateway NCurses interface - TMRh20 2015-2022 + * This is a generic tool for nodes supporting or combining with RF24Ethernet and/or RF24Network. + * + * The tool provides a simple interface for monitoring information and activity regarding the RF24Gateway:
+ * a: Interface statistics from /proc/net/dev
+ * b: RF24Mesh address/id assignments
+ * c: RF24Network/Radio information
+ * d: Active IP connections (optional)
+ * + * **Requirements: NCurses** + * Install NCurses: apt-get install libncurses5-dev + * + * **Controls** + * Type 'h' to view the help menu + * + * + */ #include #include