forked from nuttx/nuttx-update
arch/xtensa/esp32s2: Fix SPIRAM compilation warnings
This commit aims to fix compilation warnings that happens when enabling SPIRAM for ESP32-S2
This commit is contained in:
parent
d82d73c660
commit
58f59fe9dc
2 changed files with 3 additions and 2 deletions
|
@ -257,8 +257,8 @@ bool esp_spiram_test(void)
|
|||
|
||||
if (errct < 4)
|
||||
{
|
||||
merr("SPI SRAM error @ %08x:%08x/%08x \n", &spiram[p],
|
||||
spiram[p], p ^ 0xaaaaaaaa);
|
||||
merr("SPI SRAM error @ %p:%08x/%08x \n",
|
||||
&spiram[p], spiram[p], p ^ 0xaaaaaaaa);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "xtensa.h"
|
||||
#include "xtensa_attr.h"
|
||||
|
||||
/****************************************************************************
|
||||
|
|
Loading…
Reference in a new issue