diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2012-10-16 00:12:48 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2012-10-16 00:12:48 +0200 |
commit | 3ccc6849ac11851589c04adbf834091a4d918a01 (patch) | |
tree | b703d174828a8d98d9bb7c8ac0336134722b3b3c /apps/sdlog | |
parent | 965bd35e2b925ad896567e77c3ac05e2ffa7af1b (diff) | |
download | px4-firmware-3ccc6849ac11851589c04adbf834091a4d918a01.tar.gz px4-firmware-3ccc6849ac11851589c04adbf834091a4d918a01.tar.bz2 px4-firmware-3ccc6849ac11851589c04adbf834091a4d918a01.zip |
Fixed stupid typo in GPS app
Diffstat (limited to 'apps/sdlog')
-rw-r--r-- | apps/sdlog/sdlog.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/sdlog/sdlog.c b/apps/sdlog/sdlog.c index 229e1bfef..49210de3d 100644 --- a/apps/sdlog/sdlog.c +++ b/apps/sdlog/sdlog.c @@ -346,14 +346,14 @@ int sdlog_thread_main(int argc, char *argv[]) { /* --- GLOBAL POSITION --- */ /* subscribe to ORB for global position */ - subs.local_pos_sub = orb_subscribe(ORB_ID(vehicle_global_position)); + subs.global_pos_sub = orb_subscribe(ORB_ID(vehicle_global_position)); fds[fdsc_count].fd = subs.global_pos_sub; fds[fdsc_count].events = POLLIN; fdsc_count++; /* --- GPS POSITION --- */ /* subscribe to ORB for global position */ - subs.local_pos_sub = orb_subscribe(ORB_ID(vehicle_gps_position)); + subs.gps_pos_sub = orb_subscribe(ORB_ID(vehicle_gps_position)); fds[fdsc_count].fd = subs.gps_pos_sub; fds[fdsc_count].events = POLLIN; fdsc_count++; |