32 lines
846 B
C
32 lines
846 B
C
|
/********************************************************************
|
|||
|
Copyright (c) 2021 Xiangyu Medical Co.<EFBFBD><EFBFBD>Ltd. All rights reserved.
|
|||
|
FileName :
|
|||
|
Author : xiaozhengsheng
|
|||
|
Version : V1.0
|
|||
|
Date :
|
|||
|
Note :
|
|||
|
History :
|
|||
|
********************************************************************/
|
|||
|
#ifndef _USER_CONFIG_H_
|
|||
|
#define _USER_CONFIG_H_
|
|||
|
#include <stdbool.h>
|
|||
|
#include <stdint.h>
|
|||
|
#include <string.h>
|
|||
|
|
|||
|
#define SOFT_VERSION_MAX_LENGTH 50
|
|||
|
typedef struct {
|
|||
|
uint8_t major; // <20><><EFBFBD>汾<EFBFBD><E6B1BE> (V1)
|
|||
|
uint8_t minor; // <20>ΰ汾<CEB0><E6B1BE> (.0)
|
|||
|
uint8_t patch; // <20><EFBFBD><DEB6><EFBFBD> (.0)
|
|||
|
uint8_t build; // <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> (.0)
|
|||
|
uint8_t testVersion[30];
|
|||
|
} version_t;
|
|||
|
extern char softWareVersion[SOFT_VERSION_MAX_LENGTH];
|
|||
|
|
|||
|
void read_config_user_config(void);
|
|||
|
|
|||
|
#endif
|
|||
|
|
|||
|
/*************************** END OF FILE ***************************/
|
|||
|
|