summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRALOVICH, Kristóf <tade60@freemail.hu>2013-04-05 17:00:06 +0200
committerRALOVICH, Kristóf <tade60@freemail.hu>2013-04-05 17:00:06 +0200
commit4154f04a97eeaf378d9dff38bd9d1641568b2286 (patch)
tree2a03a1646ffcc8f8fc3a53bb06f438d5f52816bd
parentb8ef1d24e5a9badff71747d08ed3728cfbf98cd5 (diff)
move GARMIN_EPOCH to antdefs.hpp
-rw-r--r--src/GarminConvert.cpp1
-rw-r--r--src/GarminConvert.hpp1
-rw-r--r--src/antdefs.hpp1
3 files changed, 2 insertions, 1 deletions
diff --git a/src/GarminConvert.cpp b/src/GarminConvert.cpp
index 3172a56..b5ea604 100644
--- a/src/GarminConvert.cpp
+++ b/src/GarminConvert.cpp
@@ -30,6 +30,7 @@
// ***** END LICENSE BLOCK *****
#include "GarminConvert.hpp"
+#include "antdefs.hpp"
#include <stdio.h>
#include <time.h>
#include <iostream>
diff --git a/src/GarminConvert.hpp b/src/GarminConvert.hpp
index b680e4c..3896c51 100644
--- a/src/GarminConvert.hpp
+++ b/src/GarminConvert.hpp
@@ -35,7 +35,6 @@
#include <string>
#include <vector>
-#define GARMIN_EPOCH 631065600
namespace antpm{
diff --git a/src/antdefs.hpp b/src/antdefs.hpp
index de7060a..a070e5b 100644
--- a/src/antdefs.hpp
+++ b/src/antdefs.hpp
@@ -122,6 +122,7 @@ static const unsigned char ANTP_NETKEY[8] = {0xA8,0xA4,0x23,0xB9,0xF5,0x5E,0x63,
+#define GARMIN_EPOCH 631065600