Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
Kampi committed Nov 21, 2023
1 parent 75458fc commit f3fc894
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 17 deletions.
30 changes: 15 additions & 15 deletions app/src/ble/gadgetbridge/ble_gadgetbridge.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,29 @@

#define MAX_GB_PACKET_LENGTH 1000

/** @brief
* @param key
* @param data
* @param value_lem
* @return
/** @brief
* @param key
* @param data
* @param value_lem
* @return
*/
char *extract_value_str(char *key, char *data, int *value_len);

/** @brief
* @param data
* @param len
* @return
/** @brief
* @param data
* @param len
* @return
*/
int parse_data(char *data, int len);

/** @brief
* @param data
* @return
/** @brief
* @param data
* @return
*/
void parse_time(char *data);

/** @brief
* @param data
* @param len
/** @brief
* @param data
* @param len
*/
void parse_remote_control(char *data, int len);
3 changes: 1 addition & 2 deletions app/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,7 @@ int main(void)
// it has the required amount of stack.
k_work_submit(&init_work);

while(1)
{
while (1) {
const struct zbus_channel *chan;

if (!zbus_sub_wait(&ble_data_subscriber, &chan, K_FOREVER)) {
Expand Down

0 comments on commit f3fc894

Please sign in to comment.