spiram: add header guards to esp32s3/spiram.h and remove the exception

This commit is contained in:
Ivan Grokhotkov
2021-05-05 15:27:19 +02:00
parent 897496dd73
commit 2887c88f56
2 changed files with 8 additions and 1 deletions

View File

@@ -21,6 +21,10 @@
#include <stdbool.h>
#include "esp_err.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* @brief Initialize spiram interface/hardware. Normally called from cpu_start.c.
*
@@ -135,4 +139,8 @@ uint32_t rodata_flash_end_page_get(void);
int rodata_flash2spiram_offset(void);
#endif
#ifdef __cplusplus
}
#endif
#endif