1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-23 21:43:51 +01:00

Merge pull request #13141 from gschorcht/cpu/esp32/fix_c_linkage

cpu/esp32: fix C linkage compilation error
This commit is contained in:
Kaspar Schleiser 2020-01-16 15:06:01 +01:00 committed by GitHub
commit c4877c6d41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View File

@ -35,8 +35,12 @@
#include "periph/gpio.h"
#include "sdk_conf.h"
#if MODULE_MTD
#include "mtd.h"
#endif
#ifdef __cplusplus
extern "C" {
extern "C" {
#endif
/**
@ -103,7 +107,6 @@
* Built-in SPI flash memory is used as MTD system drive.
* @{
*/
#include "mtd.h"
/**
* @brief MTD drive start address in SPI flash memory

View File

@ -24,12 +24,12 @@
#ifndef DOXYGEN
#include "board.h"
#ifdef __cplusplus
extern "C" {
#endif
#include "board.h"
/**
* @brief Defines the CPU frequency [values = 2, 40, 80, 160 and 240]
*/