Fixing 100hz interrupt sequencing