Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed typo in rtems binsem TimeInTicks variable name #614

Closed
wants to merge 1 commit into from
Closed

Fixed typo in rtems binsem TimeInTicks variable name #614

wants to merge 1 commit into from

Conversation

adam-stamand
Copy link

Describe the contribution
This addresses a typo in the rtems os-impl-binsem.c file for a variable name.

Fixes #613

Testing performed
Compiled using rtems toolchain, but not run on hardware.

Expected behavior changes
Prior to this change, compilation failed for an rtems platform. The code should now compile for rtems.

System(s) tested on

  • Hardware: Dell latptop(Build Machine) - AAC Sirius(Host Machine)
  • OS: Ubuntu 18.04(Build Machine) - RTEMS 4.11(Host Machine)
  • Versions: OSAL Main

Contributor Info - All information REQUIRED for consideration of pull request
Adam St. Amand - Personal

@skliper skliper added CCB:PendingCLA External contribution pending CLA confirmation bug labels Oct 2, 2020
@skliper skliper added this to the 6.0.0 milestone Oct 2, 2020
@skliper skliper added the CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) label Oct 2, 2020
Copy link
Contributor

@jphickey jphickey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed this is broken in main ... which was surprising because I just tested using RTEMS recently but I had the previous OSAL baseline apparently (from 9-21) so didn't run into this issue.

I'm also getting another warning too:

/home/joe/code/cfecfs/github/osal/src/os/rtems/src/os-impl-binsem.c: In function 'OS_BinSemTimedWait_Impl':
/home/joe/code/cfecfs/github/osal/src/os/rtems/src/os-impl-binsem.c:249:5: error: implicit declaration of function 'OS_Milli2Ticks' [-Werror=implicit-function-declaration]
     if (OS_Milli2Ticks(msecs, &TimInTicks) != OS_SUCCESS)
     ^

@jphickey
Copy link
Contributor

jphickey commented Oct 2, 2020

Suggests we really should push ahead with adding RTEMS + VxWorks builds to our CI somehow....

@skliper
Copy link
Contributor

skliper commented Oct 2, 2020

Suggests we really should push ahead with adding RTEMS + VxWorks builds to our CI somehow....

Yes. Would really help catch my errors...

This was referenced Oct 2, 2020
@astrogeco
Copy link
Contributor

Fixed in #616

@astrogeco astrogeco closed this Oct 6, 2020
@astrogeco astrogeco removed the CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) label Oct 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug CCB:PendingCLA External contribution pending CLA confirmation duplicate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Typo in RTEMS binsem.c Variable Name
4 participants