mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-18 12:53:31 +08:00
fix the line break character in ff.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2390 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
6e242e0529
commit
eda62844c1
@ -522,13 +522,13 @@ void mem_cpy (void* dst, const void* src, UINT cnt) {
|
||||
BYTE *d = (BYTE*)dst;
|
||||
const BYTE *s = (const BYTE*)src;
|
||||
|
||||
#if _WORD_ACCESS == 1
|
||||
if (((unsigned)d & 0x03)!=0 || ((unsigned)s & 0x03)!=0)
|
||||
{
|
||||
while (cnt--)
|
||||
*d++ = *s++;
|
||||
return;
|
||||
}
|
||||
#if _WORD_ACCESS == 1
|
||||
if (((unsigned)d & 0x03)!=0 || ((unsigned)s & 0x03)!=0)
|
||||
{
|
||||
while (cnt--)
|
||||
*d++ = *s++;
|
||||
return;
|
||||
}
|
||||
|
||||
while (cnt >= sizeof(int)) {
|
||||
*(int*)d = *(int*)s;
|
||||
|
Loading…
x
Reference in New Issue
Block a user