PROS Line sensor messing with gyro values

I am using both a gyro and a line sensor on my robot and for whatever reason when I put an object in front of the line sensor the gyro starts incrementing up every half second or so. The only thing that the line sensor should be doing currently is printing out its value, so it shouldn’t be interacting with the gyro values at all. I have tried different ports for the sensors and even a different brain.

Any Ideas?

Only idea I have is to check to make sure you are using PROS kernel 3.1.6. Also, and you probably know this, header files are not looked at as dependencies so you need to either “make clean” or touch all dependents.

Anyone who can truly help (i.e. is using both sensors) will most likely want to see code.