Variable definitions inside case must be in some scope.
Like this:
case RUNNING:
{ // <---- note the new scope
unsigned char data;
...
}
case SAMPLING:
...
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:
...
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:
...