mirror of
https://github.com/apache/nuttx-apps.git
synced 2025-10-17 07:12:06 +08:00
Fix the minor style issue
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:

committed by
Petro Karashchenko

parent
4941182cc6
commit
893387b2c5
@@ -302,7 +302,7 @@ static inline int
|
||||
config.instance = entry->instance;
|
||||
config.len = entry->len;
|
||||
config.configdata = g_entryimage;
|
||||
ret = ioctl(g_fd, CFGDIOC_SETCONFIG, (unsigned long) &config);
|
||||
ret = ioctl(g_fd, CFGDIOC_SETCONFIG, (unsigned long)&config);
|
||||
if (ret < 0)
|
||||
{
|
||||
entry->id = 0;
|
||||
@@ -368,7 +368,7 @@ static inline int
|
||||
config.instance = entry->instance;
|
||||
config.len = entry->len;
|
||||
config.configdata = g_entryimage;
|
||||
ret = ioctl(g_fd, CFGDIOC_GETCONFIG, (unsigned long) &config);
|
||||
ret = ioctl(g_fd, CFGDIOC_GETCONFIG, (unsigned long)&config);
|
||||
if (ret < 0)
|
||||
{
|
||||
return ERROR;
|
||||
|
Reference in New Issue
Block a user