Fixing analog input