Changes for updated DriverFramework

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois
2015-11-19 19:03:10 -08:00
parent c4438bf50a
commit 34410e7ce4
5 changed files with 12 additions and 11 deletions
+2 -2
View File
@@ -920,7 +920,7 @@ test()
/* read the sensor 5x and report each value */
for (unsigned i = 0; i < 5; i++) {
UpdateList in_set, out_set;
in_set.push_back(&h);
in_set.pushBack(&h);
/* wait for data to be ready */
ret = DevMgr::waitForUpdate(in_set, out_set, 1000);
@@ -1029,7 +1029,7 @@ calibrate(unsigned altitude)
int ret;
ssize_t sz;
UpdateList in_set, out_set;
in_set.push_back(&h);
in_set.pushBack(&h);
/* wait for data to be ready */
ret = DevMgr::waitForUpdate(in_set, out_set, 1000);
@@ -52,6 +52,7 @@
#include <unistd.h>
#include <stdio.h>
#include <ctype.h>
#include <errno.h>
#include <px4_workqueue.h>