Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Achim Morschhauser
GeomagLogger
Commits
119be28b
Commit
119be28b
authored
Jun 22, 2018
by
Achim Morschhauser
Browse files
Makfile updated
parent
e57dd5fd
Changes
2
Hide whitespace changes
Inline
Side-by-side
makefile
View file @
119be28b
...
...
@@ -32,6 +32,7 @@ $(BIN_DIR)%: $(filter-out $(OBJ_DIR)$(EXCL) ,$(OBJ_FILES)) $(USR_DIR)%.cpp
$(CC)
$(CCFLAGS)
-o
$
(
@
)
$^
-I
./include/
$(OBJ_DIR)%.o
:
$(SRC_DIR)%.cpp
mkdir
-p
$(OBJ_DIR)
$(CC)
$(CCFLAGS)
-c
-o
$@
$<
-I
$(HDR_DIR)
clean
:
...
...
usr/OBSDAQ_Logger.cpp
View file @
119be28b
...
...
@@ -55,8 +55,8 @@ int main() {
Obs_Calibration_Vector
cal
=
Obs_Calibration_Vector
(
X_s
/
R
,
Y_s
/
R
,
Z_s
/
R
);
// Initialize new GSM device
driver_obs_obsdaq
obsdaq
=
driver_obs_obsdaq
(
"/dev/ttyUSB
1
"
,
&
pipe
,
&
cal
,
1
15
200
,
1
);
driver_obs_obsdaq
obsdaq
=
driver_obs_obsdaq
(
"/dev/ttyUSB
0
"
,
&
pipe
,
&
cal
,
1
9
200
,
1
);
// Get some data
...
...
@@ -79,7 +79,7 @@ int main() {
// Take continuous measurements
fprintf
(
stderr
,
"Run
\n
"
);
obsdaq
.
freerun
(
200
);
obsdaq
.
freerun
(
1
);
/*
...
...
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