Files
test/boards/e3_176_ref/备份扭矩模式/app_config.h
2025-11-07 20:19:23 +08:00

40 lines
810 B
C

#ifndef APP_CONFIG_H
#define APP_CONFIG_H
#ifdef __cplusplus
extern "C" {
#endif
// 标准库,每个模块中也会包含
#include <stdio.h>
#include <stddef.h>
#include <stdlib.h>
#include <stdint.h>
#include <float.h>
#include <math.h>
#include <stdbool.h>
#include <string.h>
#include <assert.h>
//外部依赖放在这里,方便分层管理,实际代码中也有这个文件,但是没有依赖
//移植的时候,存放依赖的文件不用移植
#include "app_dependence.h"
// 接口,全局变量都放在这里
#include "interface.h"
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
static inline uint8_t app_close(void) { return 1; }
static inline uint8_t app_open(void) { return 0; }
#ifdef __cplusplus
}
#endif
#endif // APP_CONFIG_H