修复编译速度慢的问题

This commit is contained in:
NeoZeng
2022-11-19 15:23:19 +08:00
parent 613939fe23
commit acf93052b2
8 changed files with 32 additions and 12 deletions

View File

@@ -2,7 +2,7 @@
#include "main.h"
extern TIM_HandleTypeDef htim5;
static tmp_output_level = 0;
static uint8_t tmp_output_level = 0;
void LED_init()
{

View File

@@ -1,6 +1,11 @@
#ifndef STRUCT_TYPEDEF_H
#define STRUCT_TYPEDEF_H
#ifndef __PACKED
#define __packed __attribute__((pakced))
#endif // !__PACKED
typedef signed char int8_t;
typedef signed short int int16_t;