Hi binqin,
The processor works @80MHz or @112MHz
The initialization for the System Clock is computed starting from the CPU frequency value and sets the appropriate timers with the pre-computed value.
So there is no problem that you see the
/* Initialize system timer */
UpdateSystickConfig(10000000);
Furthermore, i do not understand what you say by "the clock was 80M,but the LED result wasn't right."
I've tested the application and the LED is controlled correctly based on the PIT settings: 500ms and 250ms respectively
These are the oscilloscope wave-forms.
(upper signal) CH1 = RED LED @500ms changing rate

(lower signal) CH2 = BLUE LED @250ms changing rate

As you can see the results are OK.
Can you share what you are seeing ?
Hope this helps!
Daniel