mirror of
https://github.com/apache/nuttx.git
synced 2026-05-25 18:27:56 +08:00
Remove TABs
This commit is contained in:
+1
-1
Submodule arch updated: 4664ce223d...0f4940ff63
+1
-1
Submodule configs updated: bc95908f1b...2386155376
@@ -197,7 +197,7 @@ static int as5048b_writeu8(FAR struct as5048b_dev_s *priv, uint8_t regaddr,
|
||||
uint8_t regval)
|
||||
{
|
||||
uint8_t buffer[2];
|
||||
int ret;
|
||||
int ret;
|
||||
|
||||
sndbg("addr: %02x value: %02x\n", regaddr, regval);
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ uint32_t htonl(uint32_t hl)
|
||||
return (( (hl) >> 24) |
|
||||
(((hl) >> 8) & 0x0000ff00) |
|
||||
(((hl) << 8) & 0x00ff0000) |
|
||||
( (hl) << 24));
|
||||
( (hl) << 24));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@@ -103,6 +103,6 @@ int sem_getvalue(FAR sem_t *sem, FAR int *sval)
|
||||
else
|
||||
{
|
||||
set_errno(EINVAL);
|
||||
return ERROR;
|
||||
return ERROR;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@ FAR void *memmove(FAR void *dest, FAR const void *src, size_t count)
|
||||
s = (char*) src;
|
||||
while (count--)
|
||||
{
|
||||
*tmp++ = *s++;
|
||||
*tmp++ = *s++;
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -68,7 +68,7 @@ FAR void *memmove(FAR void *dest, FAR const void *src, size_t count)
|
||||
s = (char*) src + count;
|
||||
while (count--)
|
||||
{
|
||||
*--tmp = *--s;
|
||||
*--tmp = *--s;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -52,8 +52,9 @@ int strcmp(const char *cs, const char *ct)
|
||||
for (;;)
|
||||
{
|
||||
if ((result = *cs - *ct++) != 0 || !*cs++)
|
||||
break;
|
||||
break;
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
#endif
|
||||
|
||||
@@ -67,7 +67,7 @@ char *strpbrk(const char *str, const char *charset)
|
||||
/* Yes, then this position must be the first occurrence in string */
|
||||
|
||||
return (char*)str;
|
||||
}
|
||||
}
|
||||
|
||||
/* This character from the strings matches none of those in the charset.
|
||||
* Try the next character from the string.
|
||||
|
||||
Reference in New Issue
Block a user