Elite 1.4-re fix function pointer error (*self)
This commit is contained in:
+4
-6
@@ -8,8 +8,6 @@
|
||||
#define CURRENT_LV_ONE 1
|
||||
#define CURRENT_LV_ZERO 0
|
||||
|
||||
typedef struct _CURRENT_USER_CODE* CURRENT_USER_CODE;
|
||||
|
||||
struct _CURRENT_USER_CODE {
|
||||
/** current level range: 0-4 **/
|
||||
// current level = 0 => 0-499 nA => ADCGainLevel = 200K
|
||||
@@ -25,15 +23,15 @@ struct _CURRENT_USER_CODE {
|
||||
|
||||
/** transform an IUC to real current in pA **/
|
||||
// handle current lv 0~2
|
||||
int32_t (*Transform2RealpA)();
|
||||
int32_t (*Transform2RealpA)(void *self);
|
||||
|
||||
/** transform an IUC to real current in nA **/
|
||||
// handle current lv 3~4
|
||||
int32_t (*Transform2RealnA)();
|
||||
int32_t (*Transform2RealnA)(void *self);
|
||||
|
||||
/** larger than a given int32 ? **/
|
||||
uint8_t (*Compare)(const void*, uint8_t, int32_t);
|
||||
};
|
||||
uint8_t (*Compare)(uint8_t, int32_t);
|
||||
}CURRENT_USER_CODE;
|
||||
|
||||
/*********************************************************************
|
||||
* @fn Transform2RealpA
|
||||
|
||||
Reference in New Issue
Block a user