mbed-os5 only for TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Revision:
1:9db0e321a9f4
Parent:
0:5b88d5760320
--- a/platform/mbed_rtc_time.h	Tue Dec 17 23:23:45 2019 +0000
+++ b/platform/mbed_rtc_time.h	Tue Dec 31 06:02:27 2019 +0000
@@ -1,12 +1,5 @@
-
-/** \addtogroup platform */
-/** @{*/
-/**
- * \defgroup platform_rtc_time rtc_time functions
- * @{
- */
 /* mbed Microcontroller Library
- * Copyright (c) 2006-2013 ARM Limited
+ * Copyright (c) 2006-2019 ARM Limited
  * SPDX-License-Identifier: Apache-2.0
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -22,12 +15,23 @@
  * limitations under the License.
  */
 
+#ifndef __MBED_RTC_TIME_H__
+#define __MBED_RTC_TIME_H__
+
 #include <time.h>
 
 #ifdef __cplusplus
 extern "C" {
 #endif
 
+/** \addtogroup platform-public-api */
+/** @{*/
+
+/**
+ * \defgroup platform_rtc_time rtc_time functions
+ * @{
+ */
+
 /* Timeval definition for non GCC_ARM toolchains */
 #if !defined(__GNUC__) || defined(__CC_ARM) || defined(__clang__)
 struct timeval {
@@ -128,3 +132,5 @@
 
 /** @}*/
 /** @}*/
+
+#endif /* __MBED_RTC_TIME_H__ */