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:
commit
c4877c6d41
@ -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
|
||||
|
||||
@ -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]
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user