Fixed GPIO read operation