summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Burnicki <martin.burnicki@meinberg.de>2023-02-21 11:18:42 +0100
committerMartin Burnicki <martin.burnicki@meinberg.de>2023-02-21 11:18:42 +0100
commit6e8b4353ae323280696ea898cc5a38855982481f (patch)
tree6f97a6333401fd82ca9e5464f0d9bde0e9d5075f
parent16981bde65a8e9fb2ad4204ee12e4fce8af5c703 (diff)
downloadmbgtools-lx-6e8b4353ae323280696ea898cc5a38855982481f.tar.gz
mbgtools-lx-6e8b4353ae323280696ea898cc5a38855982481f.zip
Update some mbglib files with tiny changes
-rw-r--r--mbglib/common/mbg_syn1588_io.c9
-rw-r--r--mbglib/common/pcpslstr.h10
2 files changed, 13 insertions, 6 deletions
diff --git a/mbglib/common/mbg_syn1588_io.c b/mbglib/common/mbg_syn1588_io.c
index af77d00..4fbca91 100644
--- a/mbglib/common/mbg_syn1588_io.c
+++ b/mbglib/common/mbg_syn1588_io.c
@@ -1,7 +1,7 @@
/**************************************************************************
*
- * $Id: mbg_syn1588_io.c 1.11 2022/09/07 15:39:06 martin.burnicki REL_M $
+ * $Id: mbg_syn1588_io.c 1.12 2023/02/21 10:15:34 martin.burnicki REL_M $
*
* Copyright (c) Meinberg Funkuhren, Bad Pyrmont, Germany
*
@@ -10,6 +10,8 @@
*
* -----------------------------------------------------------------------
* $Log: mbg_syn1588_io.c $
+ * Revision 1.12 2023/02/21 10:15:34 martin.burnicki
+ * Fixed a potential compiler warning.
* Revision 1.11 2022/09/07 15:39:06 martin.burnicki
* Fixed some compiler warnings in debug code.
* Revision 1.10 2022/09/01 14:56:18Z martin.burnicki
@@ -65,6 +67,9 @@
#define DEBUG_SYN1588_OPEN_CLOSE ( 1 && defined( _DEBUG ) )
#endif
+#if !defined( DEBUG_SYN1588_DETECTION )
+ #define DEBUG_SYN1588_DETECTION 0
+#endif
#if !defined( SUPP_SYN1588_USR_SPC_TESTS )
#if SUPP_SYN1588_USR_SPC && ( defined( DEBUG ) || defined( _DEBUG ) ) && \
@@ -775,7 +780,7 @@ int do_syn1588_get_safe_pcps_time_stamp_raw( MBG_DEV_HANDLE dh,
#if defined( MBG_TGT_WIN32 ) && !defined( MBGDEVIO_STATIC_LIB )
mbgdevio_syn1588_release_lock_win32();
#endif
-
+
if ( o_rc != ENoErr ) // No success.
return MBG_ERR_IO;
diff --git a/mbglib/common/pcpslstr.h b/mbglib/common/pcpslstr.h
index 7a06fb4..7940044 100644
--- a/mbglib/common/pcpslstr.h
+++ b/mbglib/common/pcpslstr.h
@@ -1,7 +1,7 @@
/**************************************************************************
*
- * $Id: pcpslstr.h 1.35 2021/03/22 23:11:52 martin REL_M $
+ * $Id: pcpslstr.h 1.36 2023/02/21 10:16:13 martin.burnicki REL_M $
*
* Copyright (c) Meinberg Funkuhren, Bad Pyrmont, Germany
*
@@ -10,6 +10,8 @@
*
* -----------------------------------------------------------------------
* $Log: pcpslstr.h $
+ * Revision 1.36 2023/02/21 10:16:13 martin.burnicki
+ * Removed trailing spaces.
* Revision 1.35 2021/03/22 23:11:52 martin
* Updated some comments.
* Revision 1.34 2021/03/12 12:32:57 martin
@@ -1040,7 +1042,7 @@ _ext const char *short_mode_name[N_STR_MODE]
/**
* @brief Determine a TZ name from a ::PCPS_HR_TIME structure with status and %UTC offset.
- *
+ *
* @param[in] hrt A ::PCPS_HR_TIME structure read from a device.
* @param[in] flags A combination of ::PCPS_TZ_NAME_FLAGS contolling the output string format.
* @param[in] is_msf A Flag used to indicate if the is an MSF receiver.
@@ -1101,11 +1103,11 @@ _ext const char *short_mode_name[N_STR_MODE]
* @brief Set up a set of device status strings.
*
* The strings depend on the status codes and the device type.
- *
+ *
* @param[in] status Extended status code, see ::PCPS_TIME_STATUS_X.
* @param[in] status_is_read Flag indicating if the @p status has actually been read.
* @param[in] is_gps Flag indicating if the status has been read from a GPS receiver.
- * @param[out] pstrs Array of strings to be set up.
+ * @param[out] pstrs Array of strings to be set up.
*/
void pcps_status_strs( PCPS_TIME_STATUS_X status, int status_is_read, int is_gps, PCPS_STATUS_STRS *pstrs ) ;