mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-12-23 04:41:24 +01:00
warnings cleared
This commit is contained in:
parent
03bd1e897a
commit
8081bfdf1e
@ -680,7 +680,7 @@ void RMFT2::loop2() {
|
||||
case OPCODE_RESET:
|
||||
{
|
||||
auto count=getOperand(1);
|
||||
for (int i=0;i<count;i++) {
|
||||
for (uint16_t i=0;i<count;i++) {
|
||||
killBlinkOnVpin(operand+i);
|
||||
IODevice::write(operand+i,opcode==OPCODE_SET);
|
||||
}
|
||||
|
@ -121,6 +121,7 @@ void _begin() {
|
||||
// Configuration isn't done frequently so we can use blocking I2C calls here, and so buffers can
|
||||
// be allocated from the stack to reduce RAM allocation.
|
||||
bool _configure(VPIN vpin, ConfigTypeEnum configType, int paramCount, int params[]) override {
|
||||
(void)configType; (void)params; // unused
|
||||
if(_verPrint) DIAG(F("_configure() driver IO_EXSensorCAM v0.%d.%d vpin: %d "), driverVer/100,driverVer%100,vpin);
|
||||
_verPrint=false; //only give driver versions once
|
||||
if (paramCount != 1) return false;
|
||||
|
Loading…
Reference in New Issue
Block a user