Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
9.2.2023: Due to updates GitLab will be unavailable for some minutes between 9:00 and 11:00.
Open sidebar
dcdb
dcdb
Commits
c44e3b26
Commit
c44e3b26
authored
May 12, 2018
by
Daniele Tafani
Browse files
Fixed dcdblib Makefile
parent
2b98bb9d
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib/Makefile
View file @
c44e3b26
...
...
@@ -16,7 +16,8 @@ OBJS = src/connection.o \
src/sensorid.o
\
src/unitconv.o
\
src/virtualsensor.o
\
src/c_api.o
src/c_api.o
\
src/sensoroperations.o
# List of public header files necessary to use this libray
PUBHEADERS
=
$(
shell
find include
-type
f
-iname
"*.h"
)
...
...
tools/dcdbquery/query.cpp
View file @
c44e3b26
...
...
@@ -37,8 +37,7 @@
#include
"dcdbendian.h"
#include
"query.h"
#include
"sensordatastore.h"
#include
"sensoroperations.h"
#include
"dcdb/sensoroperations.h"
void
DCDBQuery
::
setLocalTimeEnabled
(
bool
enable
)
{
useLocalTime
=
enable
;
...
...
@@ -61,9 +60,6 @@ void DCDBQuery::genOutput(std::list<DCDB::SensorDataStoreReading> &results)
int64_t
prev
=
0
;
uint64_t
prevT
=
0
;
int64_t
dx
=
0
;
uint64_t
dt
=
0
;
/* Print Header */
std
::
cout
<<
"Sensor,Time"
;
if
(
valueFormat
.
printValue
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment