diff options
author | Nao Pross <naopross@thearcway.org> | 2018-05-04 00:16:36 +0200 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2018-05-04 00:16:36 +0200 |
commit | c3767ac0c6bcb9a1aed1e7b666061f829a371e1f (patch) | |
tree | 36d1339fb999c066f424b8f03707e9a996aff02a /mcc_generated_files/pin_manager.cpp | |
parent | Defined Heap size (diff) | |
download | SAMLiquidSmoke-c3767ac0c6bcb9a1aed1e7b666061f829a371e1f.tar.gz SAMLiquidSmoke-c3767ac0c6bcb9a1aed1e7b666061f829a371e1f.zip |
Start own HAL implementation based on MCC's generated files
Other changes:
- Undo conversion of MCC files to C++
- Delete old Led implementation
Diffstat (limited to '')
-rw-r--r-- | mcc_generated_files/pin_manager.c (renamed from mcc_generated_files/pin_manager.cpp) | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/mcc_generated_files/pin_manager.cpp b/mcc_generated_files/pin_manager.c index 6124d56..b0d4a93 100644 --- a/mcc_generated_files/pin_manager.cpp +++ b/mcc_generated_files/pin_manager.c @@ -49,10 +49,14 @@ /**
Section: Includes
*/
+#include "pin_manager.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include "mcc.h"
#include <xc.h>
#include <sys/attribs.h>
-#include "pin_manager.hpp"
-#include "mcc.hpp"
/**
void PIN_MANAGER_Initialize(void)
@@ -129,3 +133,6 @@ void PIN_MANAGER_Initialize(void) }
+#ifdef __cplusplus
+}
+#endif
\ No newline at end of file |