From 9ad003bc41bf09de18be4036f07969deecb3bf75 Mon Sep 17 00:00:00 2001 From: Oliver Bruendler Date: Mon, 21 Oct 2019 17:39:21 +0200 Subject: [PATCH] DEVEL: Made driver C++ compatible --- driver/psi_ms_daq.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/driver/psi_ms_daq.h b/driver/psi_ms_daq.h index c4033f9..0dc07e7 100644 --- a/driver/psi_ms_daq.h +++ b/driver/psi_ms_daq.h @@ -6,6 +6,10 @@ #pragma once +#ifdef __cplusplus +extern "C" { +#endif + //******************************************************************************* // Documentation //******************************************************************************* @@ -697,6 +701,10 @@ PsiMsDaq_RetCode_t PsiMsDaq_RegGetBit( PsiMsDaq_IpHandle ipHandle, const uint32_t addr, const uint32_t mask, bool* const value_p); + +#ifdef __cplusplus +} +#endif