Skip to content

Commit

Permalink
#51: Fix code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSomeMan committed Oct 24, 2022
1 parent 2f25120 commit 6283078
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/app_ble.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ rd_status_t app_ble_manufacturer_filter_set (const bool state)
return err_code;
}

bool app_ble_manufacturer_filter_enabled (uint16_t* const p_manufacturer_id)
bool app_ble_manufacturer_filter_enabled (uint16_t * const p_manufacturer_id)
{
*p_manufacturer_id = m_scan_params.manufacturer_id;
return m_scan_params.manufacturer_filter_enabled;
Expand Down
2 changes: 1 addition & 1 deletion src/app_ble.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ rd_status_t app_ble_scan_start (void);
*
* @retval TRUE If filter is enabled.
*/
bool app_ble_manufacturer_filter_enabled (uint16_t* const p_manufacturer_id);
bool app_ble_manufacturer_filter_enabled (uint16_t * const p_manufacturer_id);

/**
* @brief Stop a scan sequence.
Expand Down
3 changes: 2 additions & 1 deletion src/app_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,8 @@ rd_status_t app_uart_send_broadcast (const ri_adv_scan_t * const scan)
if (RE_SUCCESS == re_code)
{
uint16_t filter_id = RB_BLE_MANUFACTURER_ID;
if (app_ble_manufacturer_filter_enabled(&filter_id))

if (app_ble_manufacturer_filter_enabled (&filter_id))
{
if (manuf_id == filter_id)
{
Expand Down

0 comments on commit 6283078

Please sign in to comment.