Skip to content

Integrate PR 88#91

Merged
techniccontroller merged 3 commits into
mainfrom
integrate-pr-88
Jul 11, 2026
Merged

Integrate PR 88#91
techniccontroller merged 3 commits into
mainfrom
integrate-pr-88

Conversation

@techniccontroller

@techniccontroller techniccontroller commented Jul 11, 2026

Copy link
Copy Markdown
Owner

Integrate the PR #88

deepstahl77 and others added 2 commits July 8, 2026 23:47
Refactor logString to use snprintf for better performance and avoid heap fragmentation.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Refactors UDPLogger::logString to reduce String copying/concatenation and instead format log output into a fixed-size buffer, aiming to improve runtime efficiency and reduce heap fragmentation on ESP8266.

Changes:

  • Updates UDPLogger::logString to take const String& instead of copying the argument.
  • Replaces String concatenation + toCharArray with snprintf into _packetBuffer and prints/sends that buffer.
  • Minor formatting/cleanup in udplogger.cpp.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
udplogger.h Updates logString declaration to take const String& for fewer copies.
udplogger.cpp Implements fixed-buffer formatting for logString and updates the signature accordingly.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread udplogger.cpp
Comment thread udplogger.cpp Outdated
Comment thread udplogger.cpp
@techniccontroller techniccontroller self-assigned this Jul 11, 2026
@techniccontroller techniccontroller merged commit 7b62e9d into main Jul 11, 2026
2 checks passed
@techniccontroller techniccontroller deleted the integrate-pr-88 branch July 11, 2026 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants