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

LinuxGpioDriver Minor Bug #2432

Closed
arizvi786 opened this issue Dec 13, 2023 · 1 comment · Fixed by #2435
Closed

LinuxGpioDriver Minor Bug #2432

arizvi786 opened this issue Dec 13, 2023 · 1 comment · Fixed by #2435
Assignees
Labels

Comments

@arizvi786
Copy link
Collaborator

F´ Version Latest in devel
Affected Component Drv/LinuxGpioDriver

Problem Description

Fix typo in this line: https://github.com/nasa/fprime/blob/devel/Drv/LinuxGpioDriver/LinuxGpioDriverComponentImpl.cpp#L378. It should be replaced with just char buf[MAX_BUF];.

How to Reproduce

Code inspection

Expected Behavior

Currently there's no apparent issue at runtime since buf is only used in a debug print, but it should be fixed to be an array or chars rather than an array of char pointers.

@arizvi786
Copy link
Collaborator Author

@LeStarch also it was mentioned to me from @dkogan that this file seems to be based off of https://developer.ridgerun.com/wiki/index.php?title=Gpio-int-test.c which is fine, but it may be better to include the original copyright.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants