Converted scope-local variables into function-local variables.
The 6502-specific LC implementation doesn't allow for scope-local vaiables between PT_BEGIN/PROCESS_BEGIN/PSOCK_BEGIN and PT_BEGIN/PROCESS_END/PSOCK_END.
This commit is contained in:
parent
b19fb0ac9e
commit
07f3df45be
11 changed files with 50 additions and 44 deletions
|
@ -117,10 +117,10 @@ print_usage(void)
|
|||
PROCESS_THREAD(shell_sendtest_process, ev, data)
|
||||
{
|
||||
static rimeaddr_t receiver;
|
||||
static unsigned long cpu, lpm, rx, tx;
|
||||
const char *nextptr;
|
||||
const char *args;
|
||||
char buf[40];
|
||||
static unsigned long cpu, lpm, rx, tx;
|
||||
unsigned long cpu2, lpm2, rx2, tx2;
|
||||
|
||||
PROCESS_BEGIN();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue