fix(struct_h): add extern "C" protection to *_struct.h header files.

This commit is contained in:
michael
2017-08-28 18:10:46 +08:00
parent 3161854efb
commit c7173e0d08
18 changed files with 174 additions and 1 deletions

View File

@@ -13,6 +13,11 @@
// limitations under the License.
#ifndef _SOC_LEDC_STRUCT_H_
#define _SOC_LEDC_STRUCT_H_
#ifdef __cplusplus
extern "C" {
#endif
typedef volatile struct {
struct {
struct {
@@ -243,4 +248,9 @@ typedef volatile struct {
uint32_t date; /*This register represents the version .*/
} ledc_dev_t;
extern ledc_dev_t LEDC;
#ifdef __cplusplus
}
#endif
#endif /* _SOC_LEDC_STRUCT_H_ */