From 623e105805b7abc013710254cbf764c1a6a5969f Mon Sep 17 00:00:00 2001 From: Barry Daniel Date: Thu, 26 Sep 2024 10:52:42 +1000 Subject: [PATCH] Add files via upload --- CamParser.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CamParser.cpp b/CamParser.cpp index fa9eee5..f27ecc9 100644 --- a/CamParser.cpp +++ b/CamParser.cpp @@ -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; @@ -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: // produces '^'