Skip to content

Commit

Permalink
gblink: Add c++ handling in header
Browse files Browse the repository at this point in the history
Signed-off-by: Kris Bahnsen <[email protected]>
  • Loading branch information
kbembedded committed Feb 19, 2024
1 parent 920fa56 commit 01195d6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions gblink.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
#include <furi_hal.h>
#include <stdint.h>

#ifdef __cplusplus
extern "C" {
#endif

typedef enum {
/* Flipper drives the clock line */
/* Unsupported at this time */
Expand Down Expand Up @@ -75,4 +79,8 @@ void *gblink_alloc(struct gblink_def *gblink_def);

void gblink_free(void *handle);

#ifdef __cplusplus
{
#endif

#endif // __GBLINK_H__

0 comments on commit 01195d6

Please sign in to comment.