okay so i make a simple structure like this:
Code:
struct constants
{
int KP;
int KI;
int KD;
int div;
};
then reference it here:
struct constants pid[2]={{0,0,0,0},{0,0,0,0}};
this works fine and dandy but when i do this it gives me a linker error:
struct constants pid[4]={{0,0,0,0},{0,0,0,0},{0,0,0,0},{0,0,0,0}};
What is going on I CANNOT figure it out! the linker says something like this:
idata_pid.o cannot fit the section. Section "idata_pid.o" length = 0x0000010a
please help...! i can't figure it out ... this is so simple yet frustrating