Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
BarryDaniel53 authored Sep 26, 2024
1 parent df639f5 commit 623e105
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions CamParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
#define SENSORCAM3_VPIN 0
#endif
const int CAMVPINS[] = {CAM_VPIN,SENSORCAM_VPIN,SENSORCAM2_VPIN,SENSORCAM3_VPIN};
const int16_t version=9914;
const int16_t ver=30177;
const int16_t ve =2899;

Expand Down Expand Up @@ -49,7 +48,7 @@ bool CamParser::parseN(Print * stream, byte paramCount, int16_t p[]) {
}
if (EXSensorCAM::CAMBaseVpin==0) return false; // no cam defined

if((p[0] == ve) || (p[0] == ver) || (p[0] == version)) camop='^';
if((p[0] == ve) || (p[0] == ver) || (p[0] == 'V')) camop='^';
// send UPPER case to sensorCAM to flag binary data from a DCCEX-CS parser
switch(paramCount) {
case 1: //<N ver> produces '^'
Expand Down

0 comments on commit 623e105

Please sign in to comment.