P1SEL Register Error

For some reason, if you put “bic.b #BIT2, &P1SEL” in your code then you will get an error at compile time. Apparently P1SEL is defined in a different header file.  Just avoid this line, P1SEL is set to zero by default anyway.