Skip to content

Commit

Permalink
clang-format fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoquesada committed Dec 25, 2023
1 parent a683363 commit a589890
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/bluepad32/bt/uni_bt_service.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ void uni_bt_service_init(void) {
gap_local_bd_addr(local_addr);
const char* addr_str = bd_addr_to_str(local_addr);
memcpy(&adv_data[ADV_DATA_LOCAL_NAME_ADDR_OFFSET], &addr_str[12], 2);
memcpy(&adv_data[ADV_DATA_LOCAL_NAME_ADDR_OFFSET+2], &addr_str[15], 2);
memcpy(&adv_data[ADV_DATA_LOCAL_NAME_ADDR_OFFSET + 2], &addr_str[15], 2);
}

bool uni_bt_service_is_enabled() {
Expand Down

0 comments on commit a589890

Please sign in to comment.