Quote:
|
Originally Posted by kiettyyyy
See, i moved the int declarations and that other stuff.. and moved it up to the top of the user_routines.c
int currentauto;
int newautoselect;
unsigned int autopos;
unsigned int temp_autopos;
int autocount;
Now in user_routines_fast.c,
extern unsigned char currentauto;
extern unsigned char newautoselect;
WHAT IS WRONG!!?!?! 
|
You have a type miss-match between your extern declarations
and the definitions in user_routines.c You need them to be
consistent. If you put the extern declarations in a common header
file that is also included in user_routines.c the compiler will catch
this sort of error for you.