Skip to content

Commit f85f2af

Browse files
committed
fix: 🐛 补充头文件缺失依赖
1 parent 06e0c7f commit f85f2af

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

device/fc_stp_base.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
#ifndef __FC_STEPPER_H_
1414
#define __FC_STEPPER_H_
1515

16+
#include <stddef.h>
17+
1618
#include "fc_config.h"
1719
#include "../core/fc_arch.h"
1820

device/fc_type.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818

1919
#include "fc_config.h"
2020

21+
#include "../core/fc_arch.h" // 引入原子语义
22+
2123
#ifndef fc_time_t
2224
#define fc_time_t int64_t
2325
#endif // !fc_time_t

0 commit comments

Comments
 (0)