1
0
mirror of https://github.com/aircrack-ng/rtl8812au.git synced 2024-11-09 23:57:00 +00:00

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