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
Next Next commit
Fix GCC type warning
  • Loading branch information
lupyuen committed Dec 27, 2020
commit 306f6a7277d609294e29af5679285e7cf2dea858
2 changes: 1 addition & 1 deletion components/hal_drv/bl602_hal/hal_ir.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ int hal_ir_init_from_dts(uint32_t fdt_input, uint32_t dtb_offset)
int ctrltype = 0;

uint8_t pin = 0;
uint16_t interval = NULL;
uint16_t interval = 0;

addr_prop = fdt_getprop(fdt, dtb_offset, "ctrltype", &lentmp);
if (addr_prop == NULL) {
Expand Down