From 9527ea640d520f389ca01f2c0632508dc8dc6e23 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Tue, 15 Dec 2009 19:54:14 +0000 Subject: [PATCH] Defaults to NORTH, 00.0 git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@54 e54a6e83-5905-42d5-8d5c-058d10e6a962 Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/f6806d5c9a4b1f09dc6041a7ffdb20c1395069b9 Author: [CST] Focus Date: 2009-12-15 (Tue, 15 Dec 2009) ------------------ This commit was generated by Migit --- src/zapit/src/zapit.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/zapit/src/zapit.cpp b/src/zapit/src/zapit.cpp index d1fb20707..e5adf8b5c 100644 --- a/src/zapit/src/zapit.cpp +++ b/src/zapit/src/zapit.cpp @@ -285,9 +285,9 @@ void loadZapitSettings() voltageOff = config.getBool("voltageOff", 0); useGotoXX = config.getInt32("useGotoXX", 0); - gotoXXLatitude = strtod(config.getString("gotoXXLatitude", "0.0").c_str(), NULL); - gotoXXLongitude = strtod(config.getString("gotoXXLongitude", "0.0").c_str(), NULL); - gotoXXLaDirection = config.getInt32("gotoXXLaDirection", 0); + gotoXXLatitude = strtod(config.getString("gotoXXLatitude", "00.0").c_str(), NULL); + gotoXXLongitude = strtod(config.getString("gotoXXLongitude", "00.0").c_str(), NULL); + gotoXXLaDirection = config.getInt32("gotoXXLaDirection", 1); gotoXXLoDirection = config.getInt32("gotoXXLoDirection", 0); repeatUsals = config.getInt32("repeatUsals", 0);