Skip to content

Commit

Permalink
Increase max number of supported formats to 16
Browse files Browse the repository at this point in the history
  • Loading branch information
jwlodek committed Mar 5, 2024
1 parent 072123b commit 88a7d66
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 3 deletions.
36 changes: 36 additions & 0 deletions uvcApp/Db/ADUVC.template
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,24 @@ record(mbbo, "$(P)$(R)UVCCameraFormat"){
field(FVVL, "5")
field(SXST, "Supported Mode 7")
field(SXVL, "6")
field(SVST, "Supported Mode 8")
field(SVVL, "7")
field(EIST, "Supported Mode 9")
field(EIVL, "8")
field(NIST, "Supported Mode 10")
field(NIVL, "9")
field(TEST, "Supported Mode 11")
field(TEVL, "10")
field(ELST, "Supported Mode 12")
field(ELVL, "11")
field(TVST, "Supported Mode 13")
field(TVVL, "12")
field(TTST, "Supported Mode 14")
field(TTVL, "13")
field(FTST, "Supported Mode 15")
field(FTVL, "14")
field(FFST, "Supported Mode 16")
field(FFVL, "15")
field(VAL, "0")
info(autosaveFields, "VAL")
}
Expand All @@ -141,6 +159,24 @@ record(mbbi, "$(P)$(R)UVCCameraFormat_RBV"){
field(FVVL, "5")
field(SXST, "Supported Mode 7")
field(SXVL, "6")
field(SVST, "Supported Mode 8")
field(SVVL, "7")
field(EIST, "Supported Mode 9")
field(EIVL, "8")
field(NIST, "Supported Mode 10")
field(NIVL, "9")
field(TEST, "Supported Mode 11")
field(TEVL, "10")
field(ELST, "Supported Mode 12")
field(ELVL, "11")
field(TVST, "Supported Mode 13")
field(TVVL, "12")
field(TTST, "Supported Mode 14")
field(TTVL, "13")
field(FTST, "Supported Mode 15")
field(FTVL, "14")
field(FFST, "Supported Mode 16")
field(FFVL, "15")
field(SCAN, "I/O Intr")
}

Expand Down
6 changes: 3 additions & 3 deletions uvcApp/src/ADUVC.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@

// version numbers
#define ADUVC_VERSION 1
#define ADUVC_REVISION 5
#define ADUVC_REVISION 7
#define ADUVC_MODIFICATION 0


// Unless specified during compilation, use 7 as number of supported formats
// Unless specified during compilation, use 16 as number of supported formats
#ifndef SUPPORTED_FORMAT_COUNT
#define SUPPORTED_FORMAT_COUNT 7
#define SUPPORTED_FORMAT_COUNT 16
#endif


Expand Down

0 comments on commit 88a7d66

Please sign in to comment.