Skip to content

Commit

Permalink
Merge pull request #22 from g0uus/master
Browse files Browse the repository at this point in the history
Fix compiler warning Issue #21
  • Loading branch information
mathertel authored Jul 3, 2020
2 parents f4722df + 396551f commit 678d00d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DMXSerial2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ void DMXSerialClass2::_processRDMMessage(byte CmdClass, uint16_t Parameter, bool
WRITEINT(_rdm.packet.Data+ 6, E120_SENSOR_DEFINITION);
WRITEINT(_rdm.packet.Data+ 8, E120_SENSOR_VALUE);
}
for (int n = 0; n < _initData->additionalCommandsLength; n++) {
for (uint16_t n = 0; n < _initData->additionalCommandsLength; n++) {
WRITEINT(_rdm.packet.Data+offset+n+n, _initData->additionalCommands[n]);
}
handled = true;
Expand Down

0 comments on commit 678d00d

Please sign in to comment.