mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-13 21:48:25 +08:00
获取功率
This commit is contained in:
@@ -1,6 +1,17 @@
|
||||
#ifndef __USER_POWER_H_
|
||||
#define __USER_POWER_H_
|
||||
|
||||
#define PW_NUM 100
|
||||
typedef struct
|
||||
{
|
||||
int idx;
|
||||
uint32_t* powers;
|
||||
} PowerRecord;
|
||||
|
||||
extern PowerRecord power_record;
|
||||
|
||||
char* GetPowerRecord();
|
||||
void PowerInit(void);
|
||||
void SetPowerRecord(PowerRecord* pr, uint32_t pw);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user