修复QAC宏定义问题

This commit is contained in:
sunbeam 2024-12-06 11:21:00 +08:00
parent db3327a837
commit 597470f441
3 changed files with 20 additions and 13 deletions

20
.vscode/settings.json vendored
View File

@ -3,5 +3,23 @@
"rte.h": "c",
"sysdiagdetect.h": "c",
"touch_example.h": "c"
}
},
"MicroPython.executeButton": [
{
"text": "▶",
"tooltip": "运行",
"alignment": "left",
"command": "extension.executeFile",
"priority": 3.5
}
],
"MicroPython.syncButton": [
{
"text": "$(sync)",
"tooltip": "同步",
"alignment": "left",
"command": "extension.execute",
"priority": 4
}
]
}

View File

@ -49,7 +49,7 @@ typedef unsigned char uint8_T;
typedef short int16_T;
typedef unsigned short uint16_T;
typedef int int32_T;
typedef unsigned int uint32_T;
typedef long unsigned int uint32_T;
typedef float real32_T;
typedef double real64_T;

View File

@ -37,17 +37,6 @@
// For SWTL
// #include "Global.h"
#ifndef uint8_t
#define uint8_t unsigned char
#endif
#ifndef uint16_t
#define uint16_t unsigned short
#endif
#ifndef uint32_t
#define uint32_t unsigned int
#endif
#define Cncl_Btn_E2EID ((uint16_t)(0x2136)) // in CAN ID 0x305