From 3e03ff61613254e302f5589a9a87d64c00933bb5 Mon Sep 17 00:00:00 2001 From: Barry Daniel Date: Fri, 6 Sep 2024 15:44:52 +1000 Subject: [PATCH] Add files via upload --- IO_EXSensorCAM.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/IO_EXSensorCAM.h b/IO_EXSensorCAM.h index 23a5c2b..7fdfdc3 100644 --- a/IO_EXSensorCAM.h +++ b/IO_EXSensorCAM.h @@ -347,18 +347,18 @@ void _writeAnalogue(VPIN vpin, int param1, uint8_t camop, uint16_t param3) overr if(camop=='B'){ //then 'b'(b%) cmd - can totally deal with that here. (but can't do b%,# (brightSF)) if(param1>97) return; if(param1>9) param1 = param1/10; //accept a bsNo - for(param1;param1%d0) %s"), param1,b>>4,b&15,param1,param1,str ); + DIAG(F("(b $) Bank: %d activated byte: 0x%x%x (sensors S%d7->%d0) %s"), bnk,b>>4,b&15,bnk,bnk,str ); } return; } if (outputBuffer[4]=='T') { //then 't' cmd if(param1<31) { //repeated calls if param < 31 //for (int i=0;i<7;i++) _savedCmd[i]=outputBuffer[i]; - memcpy( _savedCmd, outputBuffer, 8); + memcpy( _savedCmd, outputBuffer, 7); }else _savedCmd[2] = 0; //no repeats if ##>30 }else _savedCmd[2] = 0; //no repeats unless 't'