Comment Re:Falling Over (Score 2) 113
how about
int i;
struct leg {
unsigned int status; /* 1=OK, 0= Damn Rebels */
unsigned long odometer;
unsigned int rebelSquishCount;
} theLegs[4];
for(i=0;i <4;i++) {
if(theLegs[i].status == 0)
{ stopLegs(theLegs[i]); }
}
int i;
struct leg {
unsigned int status;
unsigned long odometer;
unsigned int rebelSquishCount;
} theLegs[4];
for(i=0;i <4;i++) {
if(theLegs[i].status == 0)
{ stopLegs(theLegs[i]); }
}