guard avrInitSystemTickTimer with extern "C"

This commit is contained in:
Jacques Germishuys
2017-08-04 21:01:10 +02:00
parent 265d050e2c
commit 7dfe7bd496

View File

@@ -33,7 +33,15 @@
/* CPU Frequency */ /* CPU Frequency */
#define AVR_CPU_HZ 1000000 #define AVR_CPU_HZ 1000000
#ifdef __cplusplus
extern "C" {
#endif
/* Function prototypes */ /* Function prototypes */
void avrInitSystemTickTimer ( void ); void avrInitSystemTickTimer ( void );
#ifdef __cplusplus
}
#endif
#endif /* __ATOM_PORT_PRIVATE_H */ #endif /* __ATOM_PORT_PRIVATE_H */