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
Next Next commit
Fix GCC type warning
  • Loading branch information
lupyuen authored Dec 27, 2020
commit e8de21b71a64e53de2746c2e7c695362d54b6c97
2 changes: 1 addition & 1 deletion components/hal_drv/bl602_hal/bl_adc.c
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ int bl_adc_start(void)

int bl_adc_gpio_init(int gpio_num)
{
uint8_t adc_pin = gpio_num;
GLB_GPIO_Type adc_pin = gpio_num;

GLB_GPIO_Func_Init(GPIO_FUN_ANALOG, &adc_pin, 1);

Expand Down