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'