sys/ztimer: fix extern "C" guard at the end of ztimer.h and ztimer/config.h

This commit is contained in:
Guillaume Meunier 2020-05-13 19:04:26 +02:00
parent da2230df48
commit 4967b141fa
2 changed files with 5 additions and 1 deletions

View File

@ -549,7 +549,7 @@ extern ztimer_clock_t *const ZTIMER_USEC_BASE;
extern ztimer_clock_t *const ZTIMER_MSEC_BASE; extern ztimer_clock_t *const ZTIMER_MSEC_BASE;
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { }
#endif #endif
#endif /* ZTIMER_H */ #endif /* ZTIMER_H */

View File

@ -117,5 +117,9 @@ extern "C" {
#define CONFIG_ZTIMER_MSEC_REQUIRED_PM_MODE ZTIMER_CLOCK_NO_REQUIRED_PM_MODE #define CONFIG_ZTIMER_MSEC_REQUIRED_PM_MODE ZTIMER_CLOCK_NO_REQUIRED_PM_MODE
#endif #endif
#ifdef __cplusplus
}
#endif
#endif /* ZTIMER_CONFIG_H */ #endif /* ZTIMER_CONFIG_H */
/** @} */ /** @} */