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

Leaning the code-Threading : Timer callback function's formal parameter need to be change. #1339

Open
dammstanger opened this issue Jul 26, 2018 · 3 comments

Comments

@dammstanger
Copy link

In the timer callbacks,register a timer callback function's formal parameter:
AP_HAL_MEMBERPROC(&AP_Baro_MS5611::_update)
need to be change into:
FUNCTOR_BIND_MEMBER(&AP_Baro_MS5611::_update, void) or
FUNCTOR_BIND(<instance>, &AP_Baro_MS5611::_update, void) for specific instance.

@MariusWiggert
Copy link

+1 I got stuck on this in the old tutorial for quite a bit.

@asa-davis
Copy link

Bump, was stuck on this

@Nickmacd88
Copy link

I too was stuck on this issue until stumbling across this open ticket. Addressed in PR4832.

#4832

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

4 participants