Quote:
Originally Posted by half geek
Correct me if I am wrong, but I think Process_Data_From_Master_uP() will never be called while in autonomous code...
|
Consider yourself corrected. Take a look at the
main() function in
main.c and you'll see that it calls
Process_Data_From_Master_uP() just
before checking
autonomous_mode. So it calls the "slow loop" code continuously before going autonomous, and then calls it
one more time after autonomous is enabled and before calling
User_Autonomous_Code().
Rather than modifying
main() as 3dude_2231 is asking, it might be less traumatic to check for
autonomous_mode inside
Process_Data_From_Master_uP().