Based on the previous patch comments, some changes were made to make it more nuttx style. https://github.com/apache/nuttx-apps/pull/1829 Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>