yamt commented on code in PR #13222:
URL: https://github.com/apache/nuttx/pull/13222#discussion_r1734674038
##########
arch/xtensa/src/esp32/esp32_spiram.c:
##########
@@ -215,13 +217,14 @@ unsigned int IRAM_ATTR cache_sram_mmu_set(int cpu_no, int
pid,
#ifdef CONFIG_SMP
spi_enable_cache(1);
- if (smp_start)
+ if (os_ready)
{
up_cpu_resume(cpu_to_stop);
}
#endif
- leave_critical_section(flags);
+ if (os_ready)
+ leave_critical_section(flags);
Review Comment:
done.
IMO, we should switch to a style which can be enforced with clang-format and
drop nxstyle.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]