mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-22 15:46:14 +01:00
Add files via upload
This commit is contained in:
parent
df639f5c66
commit
623e105805
|
@ -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: //<N ver> produces '^'
|
||||
|
|
Loading…
Reference in New Issue
Block a user