Fix Error: implicit declaration of function 'enter_critical_section'

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2024-11-03 09:17:58 +08:00 committed by Xiang Xiao
parent c5381c3eb2
commit e777234714
1 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,8 @@
#include <stdlib.h> #include <stdlib.h>
#include <debug.h> #include <debug.h>
#include <assert.h> #include <assert.h>
#include <nuttx/irq.h>
#include <nuttx/kmalloc.h> #include <nuttx/kmalloc.h>
#include <nuttx/efuse/efuse.h> #include <nuttx/efuse/efuse.h>