Commit b19c7cc1 authored by Matteo Quintiliani's avatar Matteo Quintiliani

Added field timing_quality to the structure NMXP_DATA_PROCESS


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@1293 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent 02c308be
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Istituto Nazionale di Geofisica e Vulcanologia - Italy * Istituto Nazionale di Geofisica e Vulcanologia - Italy
* quintiliani@ingv.it * quintiliani@ingv.it
* *
* $Id: nmxp_data.h,v 1.37 2009-08-17 08:47:47 mtheo Exp $ * $Id: nmxp_data.h,v 1.38 2009-09-24 04:19:51 mtheo Exp $
* *
*/ */
...@@ -126,6 +126,7 @@ typedef struct { ...@@ -126,6 +126,7 @@ typedef struct {
int *pDataPtr; /*!< \brief Array of samples */ int *pDataPtr; /*!< \brief Array of samples */
int32_t nSamp; /*!< \brief Number or samples */ int32_t nSamp; /*!< \brief Number or samples */
int32_t sampRate; /*!< \brief Sample rate */ int32_t sampRate; /*!< \brief Sample rate */
int timing_quality; /*!< \brief Timing quality for functions send_raw*() */
} NMXP_DATA_PROCESS; } NMXP_DATA_PROCESS;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Istituto Nazionale di Geofisica e Vulcanologia - Italy * Istituto Nazionale di Geofisica e Vulcanologia - Italy
* quintiliani@ingv.it * quintiliani@ingv.it
* *
* $Id: nmxp_data.c,v 1.70 2009-08-31 12:16:41 mtheo Exp $ * $Id: nmxp_data.c,v 1.71 2009-09-24 04:19:51 mtheo Exp $
* *
*/ */
...@@ -91,6 +91,7 @@ int nmxp_data_init(NMXP_DATA_PROCESS *pd) { ...@@ -91,6 +91,7 @@ int nmxp_data_init(NMXP_DATA_PROCESS *pd) {
pd->pDataPtr = NULL; pd->pDataPtr = NULL;
pd->nSamp = 0; pd->nSamp = 0;
pd->sampRate = -1; pd->sampRate = -1;
pd->timing_quality = -1;
return 0; return 0;
} }
......
Markdown is supported
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