We had checked the project. It seems the 'isr_1' is not configured. I believe isr_1 is supposed to be used to count.
And the cont variable will always have 1 or 0 since you are assigning the cont to zero in isr_speed().
Please let us know the intended algorithm used in this project.