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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Looking through usage,
{McpsReqUnconfirmed_t,McpsReqConfirmed_t,McpsReqProprietary_t}.fBufferis used in the following way:LoRaMacMcpsRequestSendPrepareFrameMacCtx.AppDataMacCtx.PktBufferIt 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