mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
AP_HAL_AVR_SITL: main calls system_initialized
This commit is contained in:
parent
4d5d08ad10
commit
7b5153c79b
@ -7,6 +7,7 @@
|
|||||||
int main (int argc, char * const argv[]) { \
|
int main (int argc, char * const argv[]) { \
|
||||||
hal.init(argc, argv); \
|
hal.init(argc, argv); \
|
||||||
setup(); \
|
setup(); \
|
||||||
|
hal.scheduler->system_initialized(); \
|
||||||
for(;;) { \
|
for(;;) { \
|
||||||
loop(); \
|
loop(); \
|
||||||
AVR_SITL::SITL_State::loop_hook(); \
|
AVR_SITL::SITL_State::loop_hook(); \
|
||||||
|
Loading…
Reference in New Issue
Block a user