aboutsummaryrefslogtreecommitdiff
path: root/apps/sample-convert.cpp
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-03-22 17:29:35 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2015-03-22 17:29:35 +0100
commitd7d545575250f616f0b9e2243e08544ab2794a03 (patch)
tree3ac666251499b8b665d82681920f1afee645cb51 /apps/sample-convert.cpp
parentaad1eaa291460509a5cf94092609ae22ebef5494 (diff)
downloadble-toys-d7d545575250f616f0b9e2243e08544ab2794a03.tar.gz
ble-toys-d7d545575250f616f0b9e2243e08544ab2794a03.tar.bz2
ble-toys-d7d545575250f616f0b9e2243e08544ab2794a03.tar.xz
ble-toys-d7d545575250f616f0b9e2243e08544ab2794a03.zip
o Renaming trygvis::soil_moisture to trygvis::sample.
Diffstat (limited to 'apps/sample-convert.cpp')
-rw-r--r--apps/sample-convert.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/sample-convert.cpp b/apps/sample-convert.cpp
index 4834732..6ce83e8 100644
--- a/apps/sample-convert.cpp
+++ b/apps/sample-convert.cpp
@@ -1,4 +1,4 @@
-#include "SensorSample.h"
+#include "trygvis/SensorSample.h"
#include "json.hpp"
#include "apps.h"
#include <fstream>
@@ -9,7 +9,7 @@ namespace apps {
using namespace std;
using namespace trygvis::apps;
-using namespace trygvis::soil_moisture;
+using namespace trygvis::sensor;
using boost::tokenizer;
namespace po = boost::program_options;
@@ -66,7 +66,7 @@ public:
}
std::vector<sample_output_stream_option *> options;
- trygvis::soil_moisture::timestamp_field tf(timestamp_field);
+ trygvis::sensor::timestamp_field tf(timestamp_field);
if (!timestamp_field.empty()) {
options.push_back(&tf);