Update bsp/gpio.c

use mytypes.h