Fixed ADC interrupt name and added periodic file sync to improve reliability