Extract duplicate isHex/parseHex uit main.cpp en client.cpp #19
Labels
No labels
bug
bug
critical
documentation
duplicate
enhancement
enhancement
feature
good first issue
help wanted
invalid
question
security
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
eddy/Project_SylDa#19
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Probleem:
main.cpp:201-213enclient.cpp:116-128bevatten identiekeisHex()enparseHex()functies.main.cpproepthex.toUpperCase()aan vóórisHex().client.cppdoet dit ook, maar inconsistente documentatie.Voorstel:
src/serial_utils.hmet gedeelde implementatieImpact:
Labels: refactor, firmware, tech-debt
Prioriteit: laag
Opgelost in commit op
main:src/serial_utils.h— gedeeldestatic inline isHex()enparseHex()main.cpp: duplicaten verwijderd (lijnen 214-226),#include "serial_utils.h"toegevoegdclient.cpp: duplicaten verwijderd (lijnen 129-141),#include "serial_utils.h"toegevoegdBeide PlatformIO environments (
s3lite-server,s3lite-client) compileren zonder errors.