made code proper to avoid warning/fixed some small potential bugs
This commit is contained in:
3
nigpib.c
3
nigpib.c
@ -65,8 +65,9 @@ static int NIread(int devID, void *buffer, int bytesToRead){
|
||||
}
|
||||
}
|
||||
/*--------------------------------------------------------------------*/
|
||||
static void NIclear(int devID){
|
||||
static int NIclear(int devID){
|
||||
ibclr(devID);
|
||||
return 1;
|
||||
}
|
||||
/*-----------------------------------------------------------------*/
|
||||
static void NIerror(int code, char *buffer, int maxBuffer){
|
||||
|
Reference in New Issue
Block a user