From 4d79887cc562c849fa8f2807d09b2ec1e27fc54c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Mayoral=20Vilches?= Date: Thu, 17 Apr 2014 16:13:41 +0200 Subject: [PATCH] L3G4200D: fix in the test example provided. The test coded had a call to "wait_for_sample" that expected one argument and 0 where provided. --- libraries/AP_InertialSensor/examples/L3G4200D/L3G4200D.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_InertialSensor/examples/L3G4200D/L3G4200D.pde b/libraries/AP_InertialSensor/examples/L3G4200D/L3G4200D.pde index 6cdd8dac41..47b589e275 100644 --- a/libraries/AP_InertialSensor/examples/L3G4200D/L3G4200D.pde +++ b/libraries/AP_InertialSensor/examples/L3G4200D/L3G4200D.pde @@ -167,7 +167,7 @@ void run_test() while( !hal.console->available() ) { // wait until we have a sample - ins.wait_for_sample(); + ins.wait_for_sample(1000); // read samples from ins ins.update();