mirror of
https://github.com/apache/nuttx.git
synced 2026-10-11 00:00:24 +00:00
arch/xtensa: remove _info from startup of ESP32
During startup we should avoid using _info since the system is not fully initialized. Default to use ets_printf which is safe for this scenario. Signed-off-by: Filipe Cavalcanti <filipe.cavalcanti@espressif.com>
This commit is contained in:
parent
6f9d6f3d94
commit
c47a984b63
1 changed files with 2 additions and 2 deletions
|
|
@ -388,8 +388,8 @@ static noreturn_function void __esp32_start(void)
|
|||
|
||||
chip_rev = esp_efuse_hal_chip_revision();
|
||||
|
||||
_info("ESP32 chip revision is v%" PRId32 ".%01ld\n",
|
||||
chip_rev / 100, chip_rev % 100);
|
||||
ets_printf("ESP32 chip revision is v%" PRId32 ".%01ld\n",
|
||||
chip_rev / 100, chip_rev % 100);
|
||||
|
||||
if (chip_rev < 300)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue