Merge pull request #11 from afaerber/normal-color

Fix NORMAL_COLOR_ATTR definition
This commit is contained in:
Eddie Cai 2017-05-16 09:09:56 +08:00 committed by GitHub
commit 2404a38a33

View File

@ -24,7 +24,7 @@ CONFIG_ITEM_VECTOR g_ConfigItemVec;
#define CURSOR_MOVE_HOME printf("%c[H", 0x1B) #define CURSOR_MOVE_HOME printf("%c[H", 0x1B)
#define CURSOR_CLEAR_SCREEN printf("%c[2J", 0x1B) #define CURSOR_CLEAR_SCREEN printf("%c[2J", 0x1B)
#define ERROR_COLOR_ATTR printf("%c[30;41m", 0x1B); #define ERROR_COLOR_ATTR printf("%c[30;41m", 0x1B);
#define NORMAL_COLOR_ATTR printf("%c[37;40m", 0x1B); #define NORMAL_COLOR_ATTR printf("%c[0m", 0x1B);
extern UINT CRC_32(unsigned char* pData, UINT ulSize); extern UINT CRC_32(unsigned char* pData, UINT ulSize);
extern unsigned short CRC_16(unsigned char* aData, UINT aSize); extern unsigned short CRC_16(unsigned char* aData, UINT aSize);
extern void P_RC4(unsigned char* buf, unsigned short len); extern void P_RC4(unsigned char* buf, unsigned short len);