AP_HAL_AVR_SITL: main calls system_initialized

This commit is contained in:
Pat Hickey 2013-01-10 14:37:22 -08:00
parent 4d5d08ad10
commit 7b5153c79b

View File

@ -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(); \