Fix the regression by https://github.com/apache/nuttx/pull/6992 Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>