Chris Liechti wrote:

Mark Stokes wrote:

Found one more thing to add to the system_clock.h file.  There is a flag
used on the FLL_CTL0 register to determine if the XT2 oscillator is
faulting.  Add this line after line 81 in system_clock.h:
#define XT2OF               0x08            /* XT2 Oscillator Fault Flag
*/


ok, done.

To make things a little more pedantic, I just changed it. :-)

I made the definition of XT2OF conditional on the definition of __msp430_have_fll_and_xt2, since it shouldn't really be defined for chips without and xtal2.

I just had another scan of the the header to look for other omissions like this, but didn't find any. Of course, that doesn't mean there are none :-)

Regards,
Steve



Reply via email to