Skip to content

Commit

Permalink
warnings cleared
Browse files Browse the repository at this point in the history
  • Loading branch information
Asbelos committed Nov 6, 2024
1 parent 03bd1e8 commit 8081bfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion EXRAIL2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
1 change: 1 addition & 0 deletions IO_EXSensorCAM.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8081bfd

Please sign in to comment.