summaryrefslogtreecommitdiff
path: root/src/app/prototest/main.cc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2018-11-21 08:29:03 +0100
committerDaniel Friesel <derf@finalrewind.org>2018-11-21 08:29:03 +0100
commit9bdf87a6ee56b893483e56854d6f66899c82b73d (patch)
tree68733dbb0697f3f9a77f28c33d83e53d2405407b /src/app/prototest/main.cc
parent5846344fab742ef97c4c0e22e530afab5a6aa219 (diff)
capnp_c list test
Diffstat (limited to 'src/app/prototest/main.cc')
-rw-r--r--src/app/prototest/main.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/app/prototest/main.cc b/src/app/prototest/main.cc
index ee907ab..84322ac 100644
--- a/src/app/prototest/main.cc
+++ b/src/app/prototest/main.cc
@@ -123,6 +123,13 @@ kout << "}" << endl;
//struct Benchmark_Nesting_Foo benchmark_nesting_foo;
benchmark.time = ts + 1;
+ capn_text sensor_text;
+ sensor_text.len = 3;
+ sensor_text.str = "gps";
+ sensor_text.seg = NULL;
+
+ benchmark.sensor = sensor_text;
+
//benchmark.nesting = new_Benchmark_Nesting(cs);
//benchmark_nesting.foo = new_Benchmark_Nesting_Foo(cs);