Fix for ADC and SPI Cleanup