Skip to content

Commit

Permalink
fix dormant astyle issues
Browse files Browse the repository at this point in the history
Following the useless code delimiter removal, some files which
contained astyle issues on main were modified so astyle was run on
them and found the issues.

Signed-off-by: Darius Berghe <[email protected]>
  • Loading branch information
buha committed Feb 24, 2025
1 parent 88083db commit 4536792
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion libraries/mqtt/mqtt_client.h
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ struct mqtt_init_param {
* Callback to be called when a message is received from the broker
* @param Message received from the broker.
*/
void (*message_handler)(struct mqtt_message_data *);
void (*message_handler)(struct mqtt_message_data *);
};

/**
Expand Down
6 changes: 3 additions & 3 deletions libraries/mqtt/mqtt_noos_support.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ struct network_port_noos {
/** Reference to no-os socket */
struct tcp_socket_desc *sock;
/** Reference to no-os network wrapper read function */
int (*mqttread)(Network*, unsigned char*, int, int);
int (*mqttread)(Network*, unsigned char*, int, int);
/** Reference to no-os network wrapper write function */
int (*mqttwrite)(Network*, unsigned char*, int,
int);
int (*mqttwrite)(Network*, unsigned char*, int,
int);
};

/* Init porting file */
Expand Down
10 changes: 5 additions & 5 deletions network/wifi/at_parser.h
Original file line number Diff line number Diff line change
Expand Up @@ -307,10 +307,10 @@ struct at_init_param {
* circular buffer where to write data received from the connection.
* If *cb is set to NULL data will not be saved
*/
void (*connection_callback)(void *ctx,
enum at_event event,
uint32_t conn_id,
struct no_os_circular_buffer **cb);
void (*connection_callback)(void *ctx,
enum at_event event,
uint32_t conn_id,
struct no_os_circular_buffer **cb);
/* Software reset enable */
bool sw_reset_en;
};
Expand All @@ -322,7 +322,7 @@ struct at_init_param {
struct at_desc;

/* Initialize parser*/
int32_t at_init(struct at_desc **desc,const struct at_init_param *param);
int32_t at_init(struct at_desc **desc, const struct at_init_param *param);
/* Free resources used by parser */
int32_t at_remove(struct at_desc *desc);

Expand Down

0 comments on commit 4536792

Please sign in to comment.