mirror of https://github.com/ArduPilot/ardupilot
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.
This commit is contained in:
parent
0b6c810a6e
commit
4d79887cc5
|
@ -167,7 +167,7 @@ void run_test()
|
||||||
while( !hal.console->available() ) {
|
while( !hal.console->available() ) {
|
||||||
|
|
||||||
// wait until we have a sample
|
// wait until we have a sample
|
||||||
ins.wait_for_sample();
|
ins.wait_for_sample(1000);
|
||||||
|
|
||||||
// read samples from ins
|
// read samples from ins
|
||||||
ins.update();
|
ins.update();
|
||||||
|
|
Loading…
Reference in New Issue