Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GCC warnings #84

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Prev Previous commit
Revert fix for variable set but not used warning
  • Loading branch information
lupyuen committed Dec 28, 2020
commit 4988edf43abe7f441ce8c0ed6c0097b7014deb4c
1 change: 0 additions & 1 deletion components/hal_drv/bl602_hal/hal_board.c
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,6 @@ static int hal_board_load_fdt_info(const void *dtb)
} else {
pwr_table_ble = 0;
}
pwr_table_ble += 0; // Suppress "variable set but not used" warning
blog_info("set pwr_table_ble = %ld in dts\r\n", pwr_table_ble);
#ifdef CFG_BLE_ENABLE
ble_controller_set_tx_pwr(pwr_table_ble);
Expand Down