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

Baro may return wrong value #269

Open
ledvinap opened this issue Apr 3, 2015 · 3 comments
Open

Baro may return wrong value #269

ledvinap opened this issue Apr 3, 2015 · 3 comments

Comments

@ledvinap
Copy link

ledvinap commented Apr 3, 2015

This bug is present (but probably much harder to trigger) in baseflight: cleanflight/cleanflight#720

@trollcop
Copy link
Member

trollcop commented Apr 3, 2015

unless you're actually contributing something (like working code), may I
politely request you to go fuck yourself, good sir?
On Apr 3, 2015 9:42 PM, "Petr Ledvina" notifications@github.com wrote:

This bug is present (but probably much harder to trigger) in baseflight:
cleanflight/cleanflight#720
cleanflight/cleanflight#720


Reply to this email directly or view it on GitHub
#269.

@digitalentity
Copy link

@trollcop, actually @ledvinap got a point. This bug is likely present in baseflight. Took a while to figure it out here cleanflight/cleanflight#569.
In baseflight this line

baroDeadline = currentTime;

probably should be changed to
baroDeadline = micros();
to fix this.

@trollcop
Copy link
Member

trollcop commented Apr 3, 2015

great, go ahead and change it.
I'm not clicking any links with joblessflight in them.
On Apr 3, 2015 9:56 PM, "Konstantin Sharlaimov" notifications@github.com
wrote:

@trollcop https://github.com/trollcop, actually @ledvinap
https://github.com/ledvinap got a point. This bug is likely present in
baseflight. Took a while to figure it out here cleanflight/cleanflight#569
cleanflight/cleanflight#569.
In baseflight this line

baroDeadline = currentTime;

probably should be changed to
baroDeadline = micros();
to fix this.


Reply to this email directly or view it on GitHub
#269 (comment).

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

No branches or pull requests

3 participants