It seems intuitive for this to complement the gpio_init/gpio_set_dir calls within the hx711_init function. But the HX711 init function merely ensures the data pin can be used as an input. It should not be seen as a method for toggling the data pin's input state back and forth.
https://github.com/endail/hx711-pico-c/blob/bbd8f4327534a6af1586710a0fb72380da477d08/src/hx711.c#L108
It seems intuitive for this to complement the
gpio_init
/gpio_set_dir
calls within thehx711_init
function. But the HX711 init function merely ensures the data pin can be used as an input. It should not be seen as a method for toggling the data pin's input state back and forth.