Skip to content

Commit

Permalink
Merge pull request #794 from zanzaben/fix779_local_hide_global_vars
Browse files Browse the repository at this point in the history
Fix #779, Change global vars to not be hidden by local vars.
  • Loading branch information
astrogeco authored Feb 24, 2021
2 parents 9a4536b + feff5b2 commit b7f04a7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/tests/bin-sem-test/bin-sem-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ int counter = 0;
*
* On RTEMS even a call to BinSemGetInfo has very ill effects.
*/
void TimerFunction(osal_id_t timer_id)
void TimerFunction(osal_id_t local_timer_id)
{
int32 status;

Expand Down
2 changes: 1 addition & 1 deletion src/tests/bin-sem-timeout-test/bin-sem-timeout-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ int counter = 0;
*
* On RTEMS even a call to BinSemGetInfo has very ill effects.
*/
void TimerFunction(osal_id_t timer_id)
void TimerFunction(osal_id_t local_timer_id)
{
int32 status;

Expand Down
2 changes: 1 addition & 1 deletion src/tests/queue-test/queue-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ uint32 timer_start = 10000;
uint32 timer_interval = 100000; /* 1000 = 1000 hz, 10000 == 100 hz */
uint32 timer_accuracy;

void TimerFunction(osal_id_t timer_id)
void TimerFunction(osal_id_t local_timer_id)
{
timer_counter++;
}
Expand Down

0 comments on commit b7f04a7

Please sign in to comment.