Fix analog autodetection