Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualMartins Mozeiko

Posted 15 February 2013 - 05:23 PM

Variable definitions inside case must be in some scope.

Like this:

 

case RUNNING:
{ // <---- note the new scope
    unsigned char data;
    ...
}
 
case SAMPLING:
...

#1Martins Mozeiko

Posted 15 February 2013 - 05:22 PM

Variables definitions inside case must be in some scope.

Like this:

case RUNNING:
{ // <---- note the new scope
    unsigned char data;
    ...
}
 
case SAMPLING:
...

PARTNERS