In version 3.2 when the source code still uses Arduino, the entry point could be found in loop(), which then calls init() and the fast_loop() functions. Then the source code moved to C++, but no main function was found, so I cant find the way how the init() and fast_loop() functions are called. I searched in the forum, but cannot find. It is so strange that such a popular topic like this was not discussed. I highly appreciate if anybody can explain me where is the entry point of the Arducopter.
I still don’t understand. Line 249 checks if _fastloop_fn variable is true then calls _fastloop_fn() function. So my question is that _fastloop_fn is variable or function?
Thank you for your help and time. Actually I don’t have any concrete intention. I only want to understand the way Arducopter is programmed so that I can learn how to do if later I meet a similar case. But when I try to access the link you provided, I met with 404 error. Can you provide me with another link? Thank you in advance