It looks as though you lost the code that sets the CPU clock (really SMCLK) to 16MHz. ("FRCTL=" down through "while (CSCTL7".) That code probably belongs in main() anyway.
↧