13
0
Fork 1

fix typo in BIG_ENDIAN. thanks sebastian muesch.

git-svn-id: https://dedected.org/svn/trunk@77 8d8ab74c-27aa-4a3d-9bde-523a2bc1f624
This commit is contained in:
mazzoo 2009-02-23 22:06:28 +00:00
parent faf9ffa606
commit bb67b7d59e
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ void to_dip(volatile uint16_t *dst, unsigned char *src, int length)
#if defined(__LITTLE_ENDIAN)
*(dst++) = *(src++);
#elif defined(__BIG_ENDIAN)
*(dst++) =s wab16(*(src++));
*(dst++) =swab16(*(src++));
#else
#error "endianness not defined"
#endif