Skip to content

Commit

Permalink
#89: make failed - multiple definition of `_commands'
Browse files Browse the repository at this point in the history
  • Loading branch information
ballle98 committed May 2, 2024
1 parent a033fc3 commit 0aa2682
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion aq_programmer.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ void _aq_programmer(program_type r_type, char *args, struct aqualinkdata *aq_dat

#define MAX_STACK 20
int _stack_place = 0;
unsigned char _commands[MAX_STACK];
static unsigned char _commands[MAX_STACK];
//unsigned char pgm_commands[MAX_STACK];
unsigned char _pgm_command = NUL;
//unsigned char _ot_pgm_command = NUL;
Expand Down
4 changes: 2 additions & 2 deletions simulator.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

#define MAX_STACK 20
int _sim_stack_place = 0;
unsigned char _commands[MAX_STACK];
static unsigned char _commands[MAX_STACK];

bool push_simulator_cmd(unsigned char cmd);

Expand Down Expand Up @@ -136,4 +136,4 @@ bool is_simulator_packet(struct aqualinkdata *aqdata, unsigned char *packet, int
} else {
return false;
}
}
}

0 comments on commit 0aa2682

Please sign in to comment.