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,13 +117,13 @@ base64_add_char(struct base64_decoder_state *s, char c)
|
|||
/*---------------------------------------------------------------------------*/
|
||||
PROCESS_THREAD(shell_dec64_process, ev, data)
|
||||
{
|
||||
struct shell_input *input;
|
||||
struct base64_decoder_state s;
|
||||
int i;
|
||||
|
||||
PROCESS_BEGIN();
|
||||
|
||||
while(1) {
|
||||
struct shell_input *input;
|
||||
struct base64_decoder_state s;
|
||||
int i;
|
||||
|
||||
PROCESS_WAIT_EVENT_UNTIL(ev == shell_event_input);
|
||||
input = data;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue