Skip to content

Commit

Permalink
allow for linking into c++ projects
Browse files Browse the repository at this point in the history
  • Loading branch information
dvv committed Jun 18, 2018
1 parent 159759c commit 289b0af
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions usbdrv/usbdrv.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@
#ifndef __usbdrv_h_included__
#define __usbdrv_h_included__

#ifdef __cplusplus
extern "C" {
#endif

/*
Hardware Prerequisites:
=======================
Expand Down Expand Up @@ -767,4 +771,8 @@ typedef struct usbRequest{

/* ------------------------------------------------------------------------- */

#ifdef __cplusplus
}
#endif

#endif /* __usbdrv_h_included__ */

0 comments on commit 289b0af

Please sign in to comment.