Update bsp/gpio.c

Add the waits in for set_pud