Rename resend_pending() to is_resend_pending() for consistency

This commit is contained in:
J. Nick Koston
2026-03-21 08:26:23 -10:00
parent 427a49959a
commit 2b95852b6c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -404,7 +404,7 @@ void MQTTClientComponent::loop() {
{
uint8_t resend_count = 0;
for (MQTTComponent *component : this->children_) {
if (component->resend_pending()) {
if (component->is_resend_pending()) {
component->process_resend();
if (++resend_count >= MAX_RESENDS_PER_LOOP)
break;
+1 -1
View File
@@ -148,7 +148,7 @@ class MQTTComponent : public Component {
void schedule_resend_state();
/// Check if a resend is pending (called by MQTTClientComponent to rate-limit work)
bool resend_pending() const { return this->resend_state_; }
bool is_resend_pending() const { return this->resend_state_; }
/// Process pending resend if needed (called by MQTTClientComponent)
void process_resend();