Make fBuffer const #1218
NovaNekmit
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Looking through usage,
{McpsReqUnconfirmed_t,McpsReqConfirmed_t,McpsReqProprietary_t}.fBuffer
is used in the following way:LoRaMacMcpsRequest
Send
PrepareFrame
MacCtx.AppData
MacCtx.PktBuffer
It seems like it would it be possible to make fBuffer a
const void*
instead.This would avoid warnings about discarding const when writting
const void*
to the McpsReq.Beta Was this translation helpful? Give feedback.
All reactions