Open
Description
In the i2c.c
file, line 294:
gpio_hal_func_sel(&hal, scl_pin, PIN_FUNC_GPIO); /* <--- Shouldn't this be sda_pin instead? */
It appears that scl_pin
is being passed instead of sda_pin
when configuring the function selection for GPIO. Given that the surrounding code is configuring sda_pin
, this might be an unintended mistake.
Link to Code
Could you confirm whether this is intentional?