Skip to content

Commit

Permalink
cleaning up compiler errors/warnings added with new changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jwlodek committed Nov 5, 2018
1 parent 7ffc84a commit c32aed8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions adUVCApp/src/ADUVC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -518,9 +518,9 @@ void ADUVC::report(FILE* fp, int details){
int framerate;
int height;
int width;
asynPrint(this->pasynUserSelf, ASYN_TRACE_ERROR, "%s::%s reporting to file %s.\n",driverName, functionName, fp);
asynPrint(this->pasynUserSelf, ASYN_TRACE_ERROR, "%s::%s reporting to external log file\n",driverName, functionName);
if(details > 0){
fprintf(fp, " LIBUVC Version -> %s.%s.%s\n", LIBUVC_VERSION_MAJOR, LIBUVC_VERSION_MINOR, LIBUVC_VERSION_PATCH);
fprintf(fp, " LIBUVC Version -> %d.%d.%d\n", LIBUVC_VERSION_MAJOR, LIBUVC_VERSION_MINOR, LIBUVC_VERSION_PATCH);
fprintf(fp, " -------------------------------------------------------------------\n");
if(!connected){
fprintf(fp, " No connected devices\n");
Expand Down Expand Up @@ -619,7 +619,7 @@ ADUVC::ADUVC(const char* portName, const char* serial, int vendorID, int product
ADUVC::~ADUVC(){
static const char* functionName = "~ADUVC";
disconnectFromDeviceUVC();
asynPrint(this->pasynUserSelf, ASYN_TRACEIO_DRIVER,"ADUVC driver exiting\n");
asynPrint(this->pasynUserSelf, ASYN_TRACEIO_DRIVER,"%s::%s ADUVC driver exiting\n", driverName, functionName);
disconnect(this->pasynUserSelf);
}

Expand Down
2 changes: 1 addition & 1 deletion adUVCApp/src/ADUVC.h
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class ADUVC : ADDriver{
asynStatus connectToDeviceUVC(int connectionType, const char* serialNumber, int productID);

//function used to disconnect from UVC device
asynStatus ADUVC::disconnectFromDeviceUVC();
asynStatus disconnectFromDeviceUVC();

//function that begins image aquisition
uvc_error_t acquireStart();
Expand Down

0 comments on commit c32aed8

Please sign in to comment.