rewrite small error
This commit is contained in:
+3
-3
@@ -68,7 +68,7 @@ typedef void (*InitWorkData) ();
|
||||
|
||||
#define LIMIT \
|
||||
uint16_t _LimitValue \
|
||||
void (*SetLimitValue) (struct limit *, uint16_t); \
|
||||
void (*SetLimitValue) (struct Limit *, uint16_t); \
|
||||
uint16_t (*GetLimitValue) (struct Limit*)
|
||||
|
||||
|
||||
@@ -176,10 +176,10 @@ static uint16_t _GetCycleNumber(struct VoltOutPara *self){
|
||||
|
||||
/**** Limit Mode ****/
|
||||
//LimitValue
|
||||
static void _SetLimitValue(struct limit *self, uint16_t LimitValue){
|
||||
static void _SetLimitValue(struct Limit *self, uint16_t LimitValue){
|
||||
self->_LimitValue = LimitValue;
|
||||
}
|
||||
static uint16_t _GetLimitValue(struct limit *self){
|
||||
static uint16_t _GetLimitValue(struct Limit *self){
|
||||
return self->_LimitValue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user