Skip to content

Commit 9bf4483

Browse files
committed
Format by clang-format
1 parent 8897f22 commit 9bf4483

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+447
-445
lines changed

include/uecho/controller.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ extern "C" {
2626
#define uEchoControllerPostResponseMaxMiliTime 5000
2727

2828
/****************************************
29-
* Data Type
30-
****************************************/
29+
* Data Type
30+
****************************************/
3131

3232
#if !defined(_UECHO_CONTROLLER_INTERNAL_H_)
3333
typedef void uEchoController;
@@ -38,7 +38,7 @@ typedef void (*uEchoControllerNodeListener)(uEchoController*, uEchoNode*, uEchoN
3838

3939
/****************************************
4040
* Function
41-
****************************************/
41+
****************************************/
4242

4343
uEchoController* uecho_controller_new(void);
4444
bool uecho_controller_delete(uEchoController* ctrl);

include/uecho/esv.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ typedef byte uEchoEsv;
2626

2727
/****************************************
2828
* Constant
29-
****************************************/
29+
****************************************/
3030

3131
enum {
3232
uEchoEsvWriteRequest = 0x60,
@@ -50,8 +50,8 @@ enum {
5050
};
5151

5252
/****************************************
53-
* Function
54-
****************************************/
53+
* Function
54+
****************************************/
5555

5656
bool uecho_esv_isnotification(uEchoEsv esv);
5757

include/uecho/message.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ bool uecho_message_isresponserequired(uEchoMessage* msg);
9595
bool uecho_message_isresponsemessage(uEchoMessage* msg, uEchoMessage* res_meg);
9696

9797
/****************************************
98-
* Function
99-
****************************************/
98+
* Function
99+
****************************************/
100100

101101
uEchoMessage* uecho_message_search_new(void);
102102

include/uecho/typedef.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ extern "C" {
3535

3636
/****************************************
3737
* Compiler
38-
****************************************/
38+
****************************************/
3939

4040
#if __STDC_VERSION__ >= 199901L
4141
#define C99
4242
#endif
4343

4444
/****************************************
45-
* Data Type
46-
****************************************/
45+
* Data Type
46+
****************************************/
4747

4848
#if defined(C99) || defined(HAVE_STDBOOL_H)
4949
#include <stdbool.h>

include/uecho/util/bytes.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ extern "C" {
1818
#endif
1919

2020
/****************************************
21-
* Function
22-
****************************************/
21+
* Function
22+
****************************************/
2323

2424
int uecho_bytes_toint(byte* byte_data, size_t byte_size);
2525
byte* uecho_bytes_fromint(int val, size_t bytes_size);

include/uecho/util/timer.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ extern "C" {
1818
#endif
1919

2020
/****************************************
21-
* Function
22-
****************************************/
21+
* Function
22+
****************************************/
2323

2424
float uecho_random(void);
2525

src/uecho/_controller.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ enum {
2929
};
3030

3131
/****************************************
32-
* Data Type
33-
****************************************/
32+
* Data Type
33+
****************************************/
3434

3535
typedef struct UEchoController {
3636
uEchoMutex* mutex;
@@ -54,7 +54,7 @@ typedef struct UEchoController {
5454

5555
/****************************************
5656
* Function
57-
****************************************/
57+
****************************************/
5858

5959
bool uecho_controller_searchwithesv(uEchoController* ctrl, uEchoEsv esv);
6060
bool uecho_controller_searchobjectwithesv(uEchoController* ctrl, byte obj_code, uEchoEsv esv);

src/uecho/_message.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ extern "C" {
2323

2424
/****************************************
2525
* Constant
26-
****************************************/
26+
****************************************/
2727

2828
enum {
2929
uEchoMessageHeaderLen = (1 + 1 + 2),

src/uecho/class.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
#include <uecho/misc.h>
1414

1515
/****************************************
16-
* uecho_class_new
17-
****************************************/
16+
* uecho_class_new
17+
****************************************/
1818

1919
uEchoClass* uecho_class_new(void)
2020
{
@@ -34,8 +34,8 @@ uEchoClass* uecho_class_new(void)
3434
}
3535

3636
/****************************************
37-
* uecho_class_delete
38-
****************************************/
37+
* uecho_class_delete
38+
****************************************/
3939

4040
bool uecho_class_delete(uEchoClass* cls)
4141
{

src/uecho/class_list.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#include <uecho/_class.h>
1212

1313
/****************************************
14-
* uecho_classlist_new
15-
****************************************/
14+
* uecho_classlist_new
15+
****************************************/
1616

1717
uEchoClassList* uecho_classlist_new(void)
1818
{
@@ -28,8 +28,8 @@ uEchoClassList* uecho_classlist_new(void)
2828
}
2929

3030
/****************************************
31-
* uecho_classlist_delete
32-
****************************************/
31+
* uecho_classlist_delete
32+
****************************************/
3333

3434
void uecho_classlist_delete(uEchoClassList* clsses)
3535
{

0 commit comments

Comments
 (0)