Use endian macros from kernel

This commit is contained in:
Christian kimocoder 2017-10-24 14:58:25 +02:00 committed by GitHub
parent eeb8466919
commit b21933b78e

View File

@ -217,9 +217,9 @@ typedef enum _RT_SPINLOCK_TYPE{
#endif
#if defined(CONFIG_LITTLE_ENDIAN)
#if defined(__LITTLE_ENDIAN)
#define ODM_ENDIAN_TYPE ODM_ENDIAN_LITTLE
#elif defined (CONFIG_BIG_ENDIAN)
#else
#define ODM_ENDIAN_TYPE ODM_ENDIAN_BIG
#endif