LoRaMac-node icon indicating copy to clipboard operation
LoRaMac-node copied to clipboard

Mark fBuffer content const

Open NovaNekmit opened this issue 1 year ago • 0 comments

As far as I could see, the buffer is only copied from, never written to.

Marking it as const allows sending data from a const buffer without an additional memcpy to a non-const buffer or discarding the const (which some linters will complain about).

NovaNekmit avatar Mar 08 '24 11:03 NovaNekmit