From b8e84dc68076ee6f50baddf3b561dda3132f6764 Mon Sep 17 00:00:00 2001 From: NeoZeng Date: Sat, 19 Nov 2022 15:45:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=9F=BA=E6=9C=AC=E7=89=88?= =?UTF-8?q?=E7=9A=84=E8=A3=81=E5=88=A4=E7=B3=BB=E7=BB=9F=E6=8E=A5=E6=94=B6?= =?UTF-8?q?referee.c=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 +++ .vscode/settings.json | 2 +- bsp/struct_typedef.h | 29 ----------------------------- 3 files changed, 4 insertions(+), 30 deletions(-) delete mode 100644 bsp/struct_typedef.h diff --git a/.gitignore b/.gitignore index ee4ee6d..9d78047 100644 --- a/.gitignore +++ b/.gitignore @@ -49,3 +49,6 @@ Mkfile.old dkms.conf build ./idea +.cortex-debug.peripherals.state.json +.cortex-debug.registers.state.json +settings.json \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index 33c9f63..e60620b 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -4,5 +4,5 @@ "stdint-gcc.h": "c", "led_task.h": "c", "stdinf.h": "c" - },, + }, } \ No newline at end of file diff --git a/bsp/struct_typedef.h b/bsp/struct_typedef.h deleted file mode 100644 index e2211fe..0000000 --- a/bsp/struct_typedef.h +++ /dev/null @@ -1,29 +0,0 @@ -#ifndef STRUCT_TYPEDEF_H -#define STRUCT_TYPEDEF_H - -typedef signed char int8_t; -typedef signed short int int16_t; - -#ifndef _INT32_T_DECLARED -typedef signed int int32_t; -#define _INT32_T_DECLARED -#endif - -typedef signed long long int64_t; - -/* exact-width unsigned integer types */ -typedef unsigned char uint8_t; -typedef unsigned short int uint16_t; - -#ifndef _UINT32_T_DECLARED -typedef unsigned int uint32_t; -#define _UINT32_T_DECLARED -#endif - -typedef unsigned long long uint64_t; -typedef unsigned char bool_t; -typedef float float; -typedef double fp64; - -#endif -