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

set the last_updated_ms field of efi_state #27401

Merged
merged 1 commit into from
Jul 14, 2024

Conversation

berman00
Copy link

@berman00 berman00 commented Jun 27, 2024

The last_update_ms variable was never set in the DroneCAN implementation of the Electronic Fuel Injector sensor. This causes the function bool AP_EFI::is_healthy to always return false. Solved by adding one line of code to set the variable to the correct value.

@berman00 berman00 marked this pull request as draft June 28, 2024 06:38
The last_update_ms variable was never set in the DroneCAN implementation of the Electronic Fuel Injector sensor. This causes the function bool AP_EFI::is_healthy to always return false. Solved by adding one line of code to set the variable to the correct value.
@peterbarker peterbarker force-pushed the bug_fix/dronecan_efi_health branch from 1774135 to a91c6a2 Compare July 14, 2024 07:27
Copy link
Contributor

@peterbarker peterbarker left a comment

Choose a reason for hiding this comment

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

I've fixed the commit message to conform to our standards, and squashed all the commits into one.

Not sure why this was just a draft, I plan on merging it anyway.

@peterbarker peterbarker marked this pull request as ready for review July 14, 2024 10:18
@peterbarker peterbarker merged commit 4938a6b into ArduPilot:master Jul 14, 2024
93 checks passed
@berman00
Copy link
Author

I've fixed the commit message to conform to our standards, and squashed all the commits into one.

Not sure why this was just a draft, I plan on merging it anyway.

Hey! I didn't know you could see it if it was a draft. I wanted to get around to testing is first. Thanks! you saved me some work : )

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

Successfully merging this pull request may close these issues.

2 participants