Timer interrupts on XIAO


One of my teammates was working with an arduino mega while writing this code. now i have to use the Seeeduino XIAO, therefore the time interrupts isn’t working and i get compilation error. any suggestion ? (without too much change in the code)