From 6a27b28ace0fee4a872980808c63939062bfa197 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E5=90=83=E6=B2=B9=E7=82=B8=E9=B8=A1?= <1425962791@qq.com> Date: Tue, 2 Dec 2025 19:20:58 +0800 Subject: [PATCH] update --- Power_Pico/BSP/sys.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/Power_Pico/BSP/sys.h b/Power_Pico/BSP/sys.h index a9b4442..942fb54 100644 --- a/Power_Pico/BSP/sys.h +++ b/Power_Pico/BSP/sys.h @@ -4,39 +4,39 @@ #include "stm32f4xx.h" #include "stm32f4xx_hal.h" -#define OS_SUPPORT 0 -#define SYS_CLK 100 +#define OS_SUPPORT 1 +#define SYS_CLK 100 typedef int32_t s32; typedef int16_t s16; typedef int8_t s8; -typedef const int32_t sc32; -typedef const int16_t sc16; -typedef const int8_t sc8; +typedef const int32_t sc32; +typedef const int16_t sc16; +typedef const int8_t sc8; typedef __IO int32_t vs32; typedef __IO int16_t vs16; typedef __IO int8_t vs8; -typedef __I int32_t vsc32; -typedef __I int16_t vsc16; -typedef __I int8_t vsc8; +typedef __I int32_t vsc32; +typedef __I int16_t vsc16; +typedef __I int8_t vsc8; typedef uint32_t u32; typedef uint16_t u16; typedef uint8_t u8; -typedef const uint32_t uc32; -typedef const uint16_t uc16; -typedef const uint8_t uc8; +typedef const uint32_t uc32; +typedef const uint16_t uc16; +typedef const uint8_t uc8; typedef __IO uint32_t vu32; typedef __IO uint16_t vu16; typedef __IO uint8_t vu8; -typedef __I uint32_t vuc32; -typedef __I uint16_t vuc16; -typedef __I uint8_t vuc8; +typedef __I uint32_t vuc32; +typedef __I uint16_t vuc16; +typedef __I uint8_t vuc8; #endif