Commit 119be28b authored by Achim Morschhauser's avatar Achim Morschhauser
Browse files

Makfile updated

parent e57dd5fd
...@@ -32,6 +32,7 @@ $(BIN_DIR)%: $(filter-out $(OBJ_DIR)$(EXCL) ,$(OBJ_FILES)) $(USR_DIR)%.cpp ...@@ -32,6 +32,7 @@ $(BIN_DIR)%: $(filter-out $(OBJ_DIR)$(EXCL) ,$(OBJ_FILES)) $(USR_DIR)%.cpp
$(CC) $(CCFLAGS) -o $(@) $^ -I./include/ $(CC) $(CCFLAGS) -o $(@) $^ -I./include/
$(OBJ_DIR)%.o: $(SRC_DIR)%.cpp $(OBJ_DIR)%.o: $(SRC_DIR)%.cpp
mkdir -p $(OBJ_DIR)
$(CC) $(CCFLAGS) -c -o $@ $< -I$(HDR_DIR) $(CC) $(CCFLAGS) -c -o $@ $< -I$(HDR_DIR)
clean: clean:
......
...@@ -55,8 +55,8 @@ int main() { ...@@ -55,8 +55,8 @@ int main() {
Obs_Calibration_Vector cal = Obs_Calibration_Vector(X_s/R,Y_s/R,Z_s/R); Obs_Calibration_Vector cal = Obs_Calibration_Vector(X_s/R,Y_s/R,Z_s/R);
// Initialize new GSM device // Initialize new GSM device
driver_obs_obsdaq obsdaq = driver_obs_obsdaq("/dev/ttyUSB1", &pipe, driver_obs_obsdaq obsdaq = driver_obs_obsdaq("/dev/ttyUSB0", &pipe,
&cal, 115200,1); &cal, 19200,1);
// Get some data // Get some data
...@@ -79,7 +79,7 @@ int main() { ...@@ -79,7 +79,7 @@ int main() {
// Take continuous measurements // Take continuous measurements
fprintf(stderr,"Run\n"); fprintf(stderr,"Run\n");
obsdaq.freerun(200); obsdaq.freerun(1);
/* /*
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment