Skip to content
Snippets Groups Projects
Commit 30f5e2c3 authored by Andrew Tridgell's avatar Andrew Tridgell
Browse files

AP_GPS: work around scheduling issue in example code

parent e40e50e2
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,7 @@
#include <AP_HAL_AVR.h>
#include <AP_HAL_AVR_SITL.h>
#include <AP_HAL_PX4.h>
#include <AP_HAL_Linux.h>
#include <AP_HAL_Empty.h>
#include <AP_GPS.h>
#include <DataFlash.h>
......@@ -70,6 +71,7 @@ void loop()
gps.time_week_ms(),
gps.status());
}
hal.scheduler->delay(10);
}
AP_HAL_MAIN();
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment