Skip to content

Commit 7025447

Browse files
hhvrcCopilot
andauthored
Update src/radio/RFTransmitter.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 8981672 commit 7025447

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/radio/RFTransmitter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ static bool modifySequence(std::vector<Rmt::Sequence>& sequences, ShockerModelTy
165165
if (seq.shockerModel() == modelType && seq.shockerId() == shockerId) {
166166
bool ok = seq.fill(commandType, intensity);
167167
seq.setTransmitEnd(ok ? transmitEnd : 0); // Remove this immediately if fill didnt succeed
168-
return ok; // Will generate a new sequence if fill failed
168+
return ok; // Returns whether modification succeeded; caller should generate a new sequence if this fails
169169
}
170170
}
171171

0 commit comments

Comments
 (0)