Fixed gpio read type