Skip to content

Commit

Permalink
Fix #779, Change local vars to not conflict with global vars.
Browse files Browse the repository at this point in the history
  • Loading branch information
zanzaben committed Feb 12, 2021
1 parent 09a2c5e commit feff5b2
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 feff5b2

Please sign in to comment.