Closed
Description
MAX_DATA_BYTES
is the only reason I need to include FirmataConstants.h
in FirmataParser.h
.
Depending on the answer to a few questions, I would like to offer to provide a replacement.
- Does
MAX_DATA_BYTES
play a larger role than defining the size of the state? - Does the array
storedInputData
need to be on the stack, or was this done out of convenience? - Would a
char *
stored on the heap, usingrealloc()
be an acceptable substitute?
Metadata
Metadata
Assignees
Labels
No labels